一直报java.lang.NoClassDefFoundError: org/apache/http/HttpEntity异常,但是我写测试类,在main方法中测试时是可以正常使用的。

在经过三个小时的苦苦探索之后,想起来我以前改过项目的module 名称,原先我的项目是个demo项目,所以项目名称不规范,后来把该项目名称改掉了,但是tomcat中加载的还是老的项目名称的war包

最终修改部署的war包后生效。

idea更换module name产生的问题java.lang.NoClassDefFoundError: org/apache/http/HttpEntity

坑爹啊!

相关文章:

  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-10-27
  • 2021-09-07
  • 2021-12-31
相关资源
相似解决方案