Maven: clean jetty:run报如下错,请问是啥问题?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Maven: clean jetty:run报如下错,请问是啥问题?相关的知识,希望对你有一定的参考价值。
[ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.1.1.v20140108:run (default-cli) on project uaam: Execution default-cli of goal org.eclipse.jetty:jetty-maven-plugin:9.1.1.v20140108:run failed: Plugin org.eclipse.jetty:jetty-maven-plugin:9.1.1.v20140108 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.8.2.v20130121 in nexus (http://192.168.119.117:8081/nexus/content/groups/public) -> [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/PluginResolutionException
下个org.eclipse.jdt.core.3.8.2.v20130121.jar放上就可以了
参考技术A Could not find artifact org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.8.2.v20130121 in nexus是不是少包追问那怎么处理呢
那怎么处理呢
追答具体我不知道你是执行什么的 但是应该是编译没通过吧 或者你找到这个包(网上下载也行)丢到里面试试
idea jetty:run 启动
1.首先pom 文件
<!-- jetty插件 --> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty.version}</version> <configuration> <webAppConfig> <contextPath>/</contextPath> </webAppConfig> </configuration> </plugin>
<jetty.version>7.6.14.v20131031</jetty.version>
2.添加jetty:run
3.启动jetty
4.添加到工具(在3图run右键)
5.也可以在maven配置效果是一样的不过参数可能会错误就不误导大家了
对了我的idea是2017.3的
以上是关于Maven: clean jetty:run报如下错,请问是啥问题?的主要内容,如果未能解决你的问题,请参考以下文章
maven clean install命令报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:
Maven项目报错:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clea