【发布时间】:2012-10-23 13:03:54
【问题描述】:
当我使用 IntelliJ Idea 运行它时 - 它完全正确。当我从输出运行 app.jar 文件时 - 一切都很好,但是 supportLib.jar 支持的一项功能。使用时我得到java.lang.NoClassDefFoundError: sun/plugin/dom/exception/InvalidAccessException。
输出的结构是:
| D:\myprogram\
|
---> app.jar
|
---> lib\
|
---> supportLib.jar
---> anotherSupportLib.jar
ClassPath 是:lib/supportLib.jar lib/anotherSupportLib.jar
【问题讨论】:
标签: java intellij-idea shared-libraries