Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application run failed #523

Open
lei-huang-netty opened this issue Dec 11, 2023 · 2 comments
Open

Application run failed #523

lei-huang-netty opened this issue Dec 11, 2023 · 2 comments

Comments

@lei-huang-netty
Copy link

Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.hotswap.agent.plugin.spring.reload.SpringChangedAgent.onEvent(Lorg/hotswap/agent/plugin/spring/listener/SpringEvent;)V" the class loader (instance of org/springframework/boot/loader/LaunchedURLClassLoader) of the current class, org/hotswap/agent/plugin/spring/reload/SpringChangedAgent, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface org/hotswap/agent/plugin/spring/listener/SpringListener have different Class objects for the type org/hotswap/agent/plugin/spring/listener/SpringEvent used in the signature
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_372]
at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_372]
at org.hotswap.agent.plugin.spring.SpringPlugin.init(SpringPlugin.java:86) ~[classes!/:1.4.2-SNAPSHOT]
... 24 common frames omitted

@lei-huang-netty
Copy link
Author

Versions:

OS: Oracle Linux Server 7.9
Hotswap Agent: 1.4.2-SNAPSHOT
DCEVM: dcevm8u282b08
Spring: 5.3.23
Spring-boot: 2.7.5
Tomcat: 9.0.68

@lei-huang-netty
Copy link
Author

use java -jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant