mac eclipse maven tomcat 运行错误 tomcat HTTP Status 404

时间:2023-03-09 20:34:49
mac eclipse maven tomcat 运行错误 tomcat HTTP Status 404

在mac系统下安装好eclipse, maven以及tomcat, 之后运行一个web的helloworld项目,出现错误 tomcat HTTP Status 404。

查看eclipse console下日志,错误信息为:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener。

解决办法:最后在*上找到问题答案,附上链接:

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener