根据文档创建的新项目,部署出现错误

kakag 发布于 2014/05/20 16:12
阅读 14K+
收藏 0
1、我按着向导创建了一个新的项目,可是创建完项目里出现错误,错误说明是


 Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for javax.servlet:servlet-api🏺2.5: ArtifactResolutionException: Failure to transfer javax.servlet:servlet-api:pom:2.5 from http://nexus.openkoala.org/content/repositories/public-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of koala-releases has elapsed or updates are forced. Original error: Could not transfer artifact javax.servlet:servlet-api:pom:2.5 from/to koala-releases (http://nexus.openkoala.org/content/repositories/public-releases/): null to http://nexus.openkoala.org/content/repositories/public-releases/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom pom.xml


Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for javax.servlet.jsp:jsp-api🏺2.1: ArtifactResolutionException: Failure to transfer javax.servlet.jsp:jsp-api:pom:2.1 from http://nexus.openkoala.org/content/repositories/public-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of koala-releases has elapsed or updates are forced. Original error: Could not transfer artifact javax.servlet.jsp:jsp-api:pom:2.1 from/to koala-releases (http://nexus.openkoala.org/content/repositories/public-releases/): null to http://nexus.openkoala.org/content/repositories/public-releases/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom pom.xml 


Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for jstl:jstl🏺1.1.2: ArtifactResolutionException: Failure to transfer jstl:jstl:pom:1.1.2 from http://nexus.openkoala.org/content/repositories/public-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of koala-releases has elapsed or updates are forced. Original error: Could not transfer artifact jstl:jstl:pom:1.1.2 from/to koala-releases (http://nexus.openkoala.org/content/repositories/public-releases/): null to http://nexus.openkoala.org/content/repositories/public-releases/jstl/jstl/1.1.2/jstl-1.1.2.pom pom.xml 


Description Resource Path Location Type
Error resolving version for plugin 'org.mortbay.jetty:jetty-maven-plugin' from the repositories [local (E:\eclipseKO\repository), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository pom.xml /demo-web line 1 Maven pom Loading Problem


Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile) pom.xml /demo-conf line 13 Maven Project Build Lifecycle Mapping Problem


2、第二个问题是:我启动run as,控制台出现错误:[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (E:\eclipseKO\repository), central (http://repo1.maven.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




请哪位大神帮帮我,我就纠结了好几天了,痛苦呀!!!




 


 

加载中
0
Koala_考拉
Koala_考拉
到web模块运行jetty:run
kakag
kakag
in http://nexus.openkoala.org/content/repositories/public-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of koala-snapshots has elapsed o
kakag
kakag
出现这个Failed to execute goal on project demo-web: Could not resolve dependencies for project org.opkoala:demo-web:war:1.0.0-SNAPSHOT: Failure to find org.opkoala:demo-conf:jar:1.0.0-SNAPSHOT
0
Koala_考拉
Koala_考拉
插件没下载成功的用mvn clean install -U强制更新
0
kakag
kakag

我运行了MVN CLEAN INSTALL -U出现这个错误,@Koala_考拉

0
Koala_考拉
Koala_考拉
建议你学一下maven
0
Koala_考拉
Koala_考拉
这个目录没有pom文件,这种问题你自己先学习找找资料
返回顶部
顶部