使用快捷键ctrl alt shift s打开Project Structure或者通过点击file找到这个面板,然后点击Artifacts找到需要发布到tomcat的项目,下面的这个依赖包需要双击一下,然后从这里消失,移动到左侧的WEB-INF/lib中,然后重启tomcat即可。
IDEA启动tomcat时java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

相关文章:

  • 2021-04-07
  • 2021-06-10
  • 2021-08-27
  • 2021-09-07
  • 2021-09-24
  • 2021-11-16
猜你喜欢
  • 2021-09-29
  • 2021-09-21
  • 2021-12-07
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案