我用izpack-maven-plugin构建了可执行的.jar文件。 如果我运行它像: java -jar install.jar -everything没关系。 但是,如果我使用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'
有什么想法吗? 谢谢。