I encrypt an spring boot application what is a single jar with all dependent libraries inside.
It run good as jar but when I generate the exe file it does not work.
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/c ore/io/ResourceLoader Caused by: java.lang.ClassNotFoundException: org.springframework.core.io.Resourc eLoader at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) The main startup class could not be found.
I encrypt an spring boot application what is a single jar with all dependent libraries inside.
It run good as jar but when I generate the exe file it does not work.
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/c
ore/io/ResourceLoader
Caused by: java.lang.ClassNotFoundException: org.springframework.core.io.Resourc
eLoader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
The main startup class could not be found.