java.lang.nosuchmethoderror:org.springframework.boot.builder.springapplicationbuilder.([ljava/lang/object;)V在org.springframework.cloud.bootstrap.bootstrapapplicationlistener.bootstrapserviceContext(bootstrapapplicationlistener.java:157)在org.springframework.cloud.bootstrap.bootstrapapplicationlistener.onapplicationevent(bootstrapapplicationlistener.java:98)在org.springframework.context.event.simpleapplicationevents(bootstrapplicationlistener.java:64 Multicaster.DoInvokeListener(SimpleApplicationEventMulticaster.java:172)位于org.SpringFramework.Context.Event.SimpleApplicationEventMulticaster.InvokeListener(SimpleApplicationEventMulticaster:165)位于org.SpringFramework.Context.Event.SimpleApplicationEventMulticaster.Multicaster(SimpleApplicationEventMulticast:139)位于org.SpringFramework.Context.Event.SimpleApplicationEventMulticast(SimpleApplicationEventMulticaster.java:127)在org.springframework.boot.context.event.eventpublishingrunlistener.environmentprepared(Eventpublishingrunlistener.java:75)在org.springframework.boot.springapplication.java:54)在org.springframework.boot.springapplication.prepared(Springapplicationrunlisteners.environmentprepared(Springapplicationrunlisteners.347)在org.springframework.boot.springapplication.preparareenvironment(Springapplication.java:347)在org.netlink.workboard.application.workboardapiapplication.main(workboardapiapplication.java:25)
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>workboard-api</groupId>
<artifactId>workboard-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>workboard-api</name>
<description>Demo project for Spring Boot</description>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<spring-cloud.version>Dalston.SR1</spring-cloud.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180813</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>false</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
<finalName>workboard-api</finalName>
</build>
</project>
您使用的是Spring CloudDalston
版本,其HCH构建在Spring Boot1.5.x上
所以我认为您必须使用与spring Boot2.x兼容的版本。
尝试使用Greenwich版本
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
我克隆了一个flutter项目,并试图在android设备上运行它。但我遇到了这个错误: 任务': app: check DebugAarMetadata'执行失败。发生多个任务操作失败:执行com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction时发生失败 该错误提到当前的compileSdkVersion为30,但某些
许多带有示例和的RxJava教程都使用“实时搜索”。例如:用RXJava改进UX。因此,我实现了这个示例,并试着玩了一下: 是否有一种方法可以忽略第一个API调用结果,并使用RXJava启动新的API调用结果?或者我应该尝试切换新的改型调用API,并尝试取消以前的请求(并打破一个反应性的方法)? 我已经使用了改版2 beta 3,与最新的Okio和OKHTTP。
我已经从1.3更新了Spring启动版本。5至1.4。0,我得到以下错误 使用Camunda BPM,版本为Spring Boot:(v1.4.0.发行版)Camunda BPM:(v7.5.0)Camunda BPM Spring Boot Starter:(v1.2.1) 对卡蒙达的依赖, 对于包装,我们使用以下插件, 请让我知道从1.3. x更新到1.4.0Spring引导失败的原因
13.2.3 更改Java版本 spring-boot-starter-parent选择相当保守的Java兼容性。如果遵循我们的建议并使用更高的Java版本,您可以添加一个java.version属性: <properties> <java.version>1.8</java.version> </properties>
问题内容: 最近,我按照这篇文章的建议删除了项目中的所有scriptlet 。但是现在,如果我尝试更改其中一个视图,则会收到deferredExpression错误。为了摆脱错误,我只需要终止,然后重新启动项目即可。 这里发生了什么?eclipse是否无法即时编译jstl?有什么我可以更改的,所以我不必每次进行更改都重新部署吗? 堆栈跟踪 问题答案: java.lang.NoSuchFieldEr
在我的wordpress站点中,数据库(mysql)已经升级,以前的表字符集是utf8mb4,但现在变成utf8,它将不支持utf8mb4。因此,在我的wp配置文件中,我将字符集更改为utf8。 但我得到了这样的错误 http错误500