You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/06/14 07:54:05 UTC
[GitHub] [dubbo] pengsuwei opened a new issue, #10153: spring boot 2.6.6 集成 dubbo 3.0.4启动报以下错误
pengsuwei opened a new issue, #10153:
URL: https://github.com/apache/dubbo/issues/10153
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/core/metrics/ApplicationStartup
at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:227)
at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:240)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.hihonor.ad.platform.engine.Application.main(Application.java:27)
Caused by: java.lang.ClassNotFoundException: org.springframework.core.metrics.ApplicationStartup
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
### Environment
* Dubbo version: 3.0.4
* Operating System version: windows 10
* Java version: JDK 11 & Spring Boot 2.6.6
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] chickenlj commented on issue #10153: spring boot 2.6.6 集成 dubbo 3.0.4启动报以下错误
Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #10153:
URL: https://github.com/apache/dubbo/issues/10153#issuecomment-1154858532
看起来是 spring 依赖之间的版本兼容问题
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] pengsuwei commented on issue #10153: spring boot 2.6.6 集成 dubbo 3.0.4启动报以下错误
Posted by GitBox <gi...@apache.org>.
pengsuwei commented on issue #10153:
URL: https://github.com/apache/dubbo/issues/10153#issuecomment-1154861248
是的,已排查出原因,引入以下dubbo依赖导致spring依赖冲突
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-bom</artifactId>
<version>3.0.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] pengsuwei closed issue #10153: spring boot 2.6.6 集成 dubbo 3.0.4启动报以下错误
Posted by GitBox <gi...@apache.org>.
pengsuwei closed issue #10153: spring boot 2.6.6 集成 dubbo 3.0.4启动报以下错误
URL: https://github.com/apache/dubbo/issues/10153
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org