第一次创建Maven项目 运行出错有没有大佬帮忙看下

书酥 2018-09-25 11:04:13
[ERROR] No plugin found for prefix 'tomacat' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\apache-maven-3.3.9-bin\repository), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
...全文
466 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_40930108 2018-10-24
  • 打赏
  • 举报
回复
jdk的问题
getdate 2018-09-27
  • 打赏
  • 举报
回复
可以参考下: https://blog.csdn.net/lslk9898/article/details/73836745
miffyfly 2018-09-26
  • 打赏
  • 举报
回复
先确定jdk的版本,以及32位or64位
酒红色头发 2018-09-26
  • 打赏
  • 举报
回复
jdk版本不一致吧
书酥 2018-09-26
  • 打赏
  • 举报
回复
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hello: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [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 以上是错误信息 不知道为什么上传不了图片 只能复制错误信息了 有没有大佬帮忙看看呀
书酥 2018-09-26
  • 打赏
  • 举报
回复
不是这个问题
icarusliu81 2018-09-26
  • 打赏
  • 举报
回复
tomcat拼错了,看准了
书酥 2018-09-26
  • 打赏
  • 举报
回复
已经弄好了不是版本问题

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧