且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

即使在类路径中正确包含了包含该类的jar,也会发生ClassNotFoundException

更新时间:2023-08-22 17:06:28

如果您的项目是 Faceted ,请右键单击该项目,然后转到属性,然后在左侧窗格中选择 Deployment Assembly 。检查依赖项是否存在于构建路径条目或 Archives (罐子)中。完成此操作后,您可以执行项目> 清洁并重新启动服务器。

If your project is Faceted, right click on the project and go to Properties, and choose Deployment Assembly on the left pane. Check if the dependencies exists there as Build Path entries or Archives (jars). Once this is done you may do Project>Clean and restart the server.