文章目录
- was cached in the local repository
- dependencies.dependency.version' for org.springframework:springloaded:jar is missing
- Failed to clean project: Failed to delete C:\Users\zhangfei\***\target\classes\com\xiaoyu\platform\custom\common -> [Help 1]
maven中经常会遇到一些报错,这里总结下。
文章目录
- was cached in the local repository
- dependencies.dependency.version' for org.springframework:springloaded:jar is missing
- Failed to clean project: Failed to delete C:\Users\zhangfei\***\target\classes\com\xiaoyu\platform\custom\common -> [Help 1]
was cached in the local repository
报错信息:
was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced.
这个问题一般是搭建了maven私服,私服找不到。
方案:
maven配置文件中注释掉私服地址即可。
dependencies.dependency.version’ for org.springframework:springloaded:jar is missing
说明这个包,没下来。 pom.xml文件里面注释掉即可。
Failed to clean project: Failed to delete C:\Users\zhangfei***\target\classes\com\xiaoyu\platform\custom\common -> [Help 1]
描述:
mvn clean的时候报错。
报错信息为:
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.6.1:clean (default-clean) on project *: Failed to clean project: Failed to delete C:\Users\zhangfei*\target\classes\com\xiaoyu\platform\custom\common -> [Help 1]
提示很明显,是target下的文件没有被删除的原因。
手动删除下就好了。