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

打成的jar包跑不了 #10

Open
yuanxiaomu opened this issue Jan 31, 2024 · 0 comments
Open

打成的jar包跑不了 #10

yuanxiaomu opened this issue Jan 31, 2024 · 0 comments

Comments

@yuanxiaomu
Copy link

Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred while running. null
at com.alipay.sofa.ark.support.startup.SofaArkBootstrap.launch(SofaArkBootstrap.java:60)
at com.alipay.sofa.ark.classisolation.SpringbootArkDemoApplication.main(SpringbootArkDemoApplication.java:12)
... 8 more
Caused by: java.lang.RuntimeException: An exception occurred while running. null
at com.alipay.sofa.ark.support.thread.IsolatedThreadGroup.rethrowUncaughtException(IsolatedThreadGroup.java:50)
at com.alipay.sofa.ark.support.startup.SofaArkBootstrap.launch(SofaArkBootstrap.java:56)
... 9 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.alipay.sofa.ark.support.thread.LaunchRunner.run(LaunchRunner.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
Caused by: com.alipay.sofa.ark.exception.ArkRuntimeException: java.lang.ClassNotFoundException: com.alipay.sofa.ark.classisolation.SpringbootArkDemoApplication
at com.alipay.sofa.ark.bootstrap.ClasspathLauncher$ClassPathArchive.deduceArkConfBaseDir(ClasspathLauncher.java:189)
at com.alipay.sofa.ark.bootstrap.ClasspathLauncher$ClassPathArchive.getConfClasspath(ClasspathLauncher.java:153)
at com.alipay.sofa.ark.bootstrap.ClasspathLauncher$ClassPathArchive.(ClasspathLauncher.java:68)
at com.alipay.sofa.ark.support.startup.SofaArkBootstrap.remain(SofaArkBootstrap.java:78)
... 6 more
Caused by: java.lang.ClassNotFoundException: com.alipay.sofa.ark.classisolation.SpringbootArkDemoApplication
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.alipay.sofa.ark.bootstrap.ClasspathLauncher$ClassPathArchive.deduceArkConfBaseDir(ClasspathLauncher.java:174)
... 9 more

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