我不想在Maven存储库(本地/远程)中安装几个jar.特别是我有几个jar文件
c:\work\projects\myapp\src\main\webapp\WEB-INF\lib\test.jar
c:\work\projects\myapp\src\main\webapp\WEB-INF\lib\test2.jar
Run Code Online (Sandbox Code Playgroud)
使用NetBeans打开/编辑时如何将它们包含到我的项目中?
I\xe2\x80\x99m 尝试解析java.lang.ClassNotFoundException:jade.core.migration.InterPlatformMobilityService,当我为 \xe2\x80\x9cInter\xe2\x80\x9d 平台移动性安装添加包时,该问题发生在JADE(Java 代理开发框架)中,其中有一个名为 \xe2 的 JAR \x80\x9cmigration.jar\xe2\x80\x9d 其中包含InterPlatformMobilityService类。我需要这个额外的 JAR,以便在不同的计算机之间发送代理(代码和数据)。
这是我的输出,显示了错误:
\nINFO: Service jade.core.mobility.AgentMobility initialized\nSep 03, 2021 3:38:48 PM jade.core.AgentContainerImpl initAdditionalServices\nWARNING: Exception initializing service jade.core.migration.InterPlatformMobilityService\njade.core.ServiceException: An error occurred during service activation - Caused by: jade.core.migration.InterPlatformMobilityService\n at jade.core.AgentContainerImpl.startService(AgentContainerImpl.java:1169)\n at jade.core.AgentContainerImpl.initAdditionalServices(AgentContainerImpl.java:450)\n at jade.core.AgentContainerImpl.startNode(AgentContainerImpl.java:389)\n at jade.core.AgentContainerImpl.joinPlatform(AgentContainerImpl.java:502)\n at jade.core.Runtime.createMainContainer(Runtime.java:159)\n at abc.def.hgi.Setup.start(Setup.java:47)\n at abc.def.hgi.App.main(App.java:51)\nNested Exception:\njava.lang.ClassNotFoundException: jade.core.migration.InterPlatformMobilityService\n at java.net.URLClassLoader.findClass(URLClassLoader.java:382)\n at java.lang.ClassLoader.loadClass(ClassLoader.java:418)\n at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)\n at java.lang.ClassLoader.loadClass(ClassLoader.java:351)\n at java.lang.Class.forName0(Native Method)\n at java.lang.Class.forName(Class.java:264)\n at jade.core.AgentContainerImpl.startService(AgentContainerImpl.java:1153)\n at jade.core.AgentContainerImpl.initAdditionalServices(AgentContainerImpl.java:450)\n at jade.core.AgentContainerImpl.startNode(AgentContainerImpl.java:389)\n at …Run Code Online (Sandbox Code Playgroud)