Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法导出可运行的 .jar 文件。当我导出 java 项目(使用 eclipse 导出向导)然后尝试运行生成的 .jar 文件时,我只会收到找不到 jwgl 库的错误!我可以做些什么来获得一个工作的 .jar 文件?
提前致谢!问候弗莱克达尔姆
您可以使用 maven 导出可运行的 jar。赶紧跑
mvn package
并且projectname.jar和projectname-jar-with-dependencies.jar将出现在目标目录下。