我已经使用 izpack-maven-plugin 构建了可执行的 .jar 文件。如果我像这样运行它:java -jar install.jar -一切都很好。但是如果我使用 JWS 运行它,我会收到一条错误消息:
Can't load log handler "com.izforge.izpack.util.LogHandler"
java.lang.ClassNotFoundException: com.izforge.izpack.util.LogHandler
java.lang.ClassNotFoundException: com.izforge.izpack.util.LogHandler
Exception in thread "AWT-EventQueue-0" com.izforge.izpack.api.exception.IzPackException: com.izforge.izpack.api.exception.ContainerException: com.izforge.izpack.api.exception.ResourceNotFoundException: Cannot find named resource: 'info'
at com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:64)
Caused by: com.izforge.izpack.api.exception.ContainerException: com.izforge.izpack.api.exception.ResourceNotFoundException: Cannot find named resource: 'info'
Caused by: com.izforge.izpack.api.exception.ResourceNotFoundException: Cannot find named resource: 'info'
有任何想法吗?谢谢。