Open maiyuanrdt opened 6 months ago
Was it successful to run the case in the ide without running the jar directly? In addition, if you want to package it into a runnable jar package, you need to use the dubbo-maven-plugin
plugin. For details, see this example:
https://github.com/apache/dubbo-samples/tree/master/2-advanced/dubbo-samples-native-image
我也出现了同样的问题,
idea 或者使用 mvn spring-boot:run
都能正常运行,
mvn clean package
能成功,运行时报上面的错误
![Uploading 屏幕截图 2024-06-11 123521.png…]()
确实存在这个问题 打包后无法运行
确实存在这个问题 打包后无法运行
It's because of this:
https://github.com/spring-projects/spring-boot/issues/41001
https://github.com/apache/dubbo/pull/14247
Wait for the new release to solve
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo Java 3.2.13, Java Corretto 17/21, Windows 11
Steps to reproduce this issue
After executing the build task, the following error is reported through java -jar build/libs/*-0.0.1-SNAPSHOT.jar
What you expected to happen
3.2.13 has compatibility issues with Spring boot 3.2+. After downgrading to 3.2.12, it can be normal
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct