错误一:Description Resource Path Location Type Archive for required library: '文件路径’is not a validate ZIP file
这个错误的原因是因为Maven库没有更新的原因,找到路径下的文件,删除,然后更新一下项目,把里面的jar包更新即可
错误二:Maven项目下update maven后Eclipse报错:
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener问题背景:
工程为maven工程,ContextLoaderListener类位于spring-web-3.1.0.RELEASE.jar包中。检查了maven的pom.xml,依赖引入正常。在工程Maven Dependencies视图中也能看到spring-web-3.1.0.RELEASE.jar包被正常引入进来了。
错误原因: