解决方案:
其实是你的jar文件没有同步发布到自己项目的lib目录中
(如果是用Maven进行构建的话) 可以试试 下面的办法
–rebuild下project就可以了
项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择
Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定即可
————————————————
版权声明:本文为CSDN博主「种葫芦种出瓜来」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_20448485/article/details/82689304
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoad解决方案
最新推荐文章于 2024-08-15 09:05:01 发布