executable-packer-maven-plugin icon indicating copy to clipboard operation
executable-packer-maven-plugin copied to clipboard

springboot build jar and run -pkg.jar

Open landashu opened this issue 2 years ago • 1 comments

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 de.ntcomputer.executablepacker.runtime.ExecutableLauncher.main(ExecutableLauncher.java:122) Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication at com.aizuda.easyManagerTool.ToolBootApplication.main(ToolBootApplication.java:14) ... 5 more Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication 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) ... 6 more

landashu avatar Oct 20 '23 05:10 landashu

Hi, unfortunately, I'm no longer working with Java and won't be able to update the plugin :(

It's very likely that the plugin just isn't compatible with new Java versions / maven versions or other libraries anymore

nthuemmel avatar Nov 18 '23 13:11 nthuemmel