具体报错信息如下:
Failure to find org.apache.tomcat:tomcat-servlet-api:jar:3.0.FR in http://maven.dev.*.com/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced
Try to run Maven import with -U flag (force update snapshots)
打包时报错:Failed to execute goal on project Project: Could not resolve dependencies for project com.*:*:war:0.0.1-SNAPSHOT: Failure to find org.apache.tomcat:tomcat-servlet-api:jar:3.0.FR in http://maven.dev.*.com/content was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
提示以来在本地已缓存,解决方法,找到出问题jar包的仓库(repository),搜索*.lastUpdate,删除以他结尾的文件 ,再重新下载即可,,还红的话就重构下项目注意同时你下载的中央仓库也要确保有这个包 分析原因:因网络等各种原因,jar包没有下载好