简体   繁体   中英

use install4j show ClassNotFoundException error

i use install4j create a install Application,i install the Application in my computer, but when i open the Application ,it show error:

java.lang.ClassNotFoundException: BOOT-INF.classes.com.lwpoct.lwproject.Application
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:80)
    at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
    at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

how can i solve it,thanks

启动器的主类必须配置为com.lwpoct.lwproject.Application而不是BOOT-INF.classes.com.lwpoct.lwproject.Application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM