idea安装及使用

使用:https://blog.csdn.net/qq_42303709/article/details/81983208

安装教程:https://blog.csdn.net/yl1712725180/article/details/80309862    强力推荐相当犀利

配置maven:https://www.cnblogs.com/sigm/p/6035155.html

按照以上配置后发现创建maven项目后没有src问题,发现编译出现问题:

[ERROR]Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'internal ' is not supported anymore. Please read the plugin documentation for details. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

  

解决方案:https://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

作者提示:

与许多其他错误不同,此异常不是由Maven核心本身生成的,而是由插件生成的。根据经验,插件使用此错误来表示构建失败,因为项目的依赖项或源代码存在问题,例如编译或测试失败。

异常的具体含义取决于插件,所以请查看其文档。可以通过我们的插件索引访问许多常见Maven插件的文档

知道原因后还是不知道怎么解决?

如何查看处理这个插件问题?
经过半小时各种度娘,因为idea刚上手,maven也不熟悉。我以前使用eclipse配置maven项目也起来了。但是idea真心不太会用。
最终解决方案:创建maven project时不能用中文。(感觉自己像个傻子)

 

 

posted @ 2019-03-15 00:03  为了WZJ  阅读(429)  评论(0编辑  收藏  举报