在spring工具套件中创建spring项目时,我遇到了问题。问题是它说,"building workspace has encountered a problem.error occured during the build.
关于查看详细信息的:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'first'.
Could not calculate build plan: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.4
Plugin org.codehaus.mojo:aspectj-maven-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.4
Could not calculate build plan: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.4
Plugin org.codehaus.mojo:aspectj-maven-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.4 发布于 2013-12-30 09:47:59
您下载的依赖项似乎以某种方式损坏了。
试着跑:
mvn -U clean install发布于 2014-12-14 11:28:29
我确实回答,因为我没有足够的声誉来做comment.So;
在STS中,我得到了同样的错误,然后找到@dhamibirendra的答案,我尝试了,它以不同的方式工作。(右键Clik on project ->run as Maven Build(不是3点))然后编写U- clean On目标值并运行。(不要忘记将Maven运行时设置为外部),在完成之后,我在同一个项目上再次出现了相同的错误。然后,我删除现有的项目,并创建一个新的,没有问题的工作。也许能帮上忙。
发布于 2016-07-20 17:16:00
右键单击Project -> Run.And,然后单击选项,并在目标部分U-洁净安装并单击Run.And,刷新项目,如果仍然看到问题,请删除旧项目并创建新项目。
https://stackoverflow.com/questions/20836366
复制相似问题