[java] view plaincopy
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for sy.demo:sypro:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:maven-jetty-plugin is missing. @ line 151, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 141, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sypro Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/org/springframework/spring-core/3.2.3.RELEASE/spring-core-3.2.3.RELEASE.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/org/springframework/spring-jdbc/3.2.3.RELEASE/spring-jdbc-3.2.3.RELEASE.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/org/springframework/spring-tx/3.2.3.RELEASE/spring-tx-3.2.3.RELEASE.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/net/sf/ehcache/ehcache/2.7.0/ehcache-2.7.0.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/junit/junit/4.11/junit-4.11.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/org/aspectj/aspectjweaver/1.7.2/aspectjweaver-1.7.2.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/com/alibaba/fastjson/1.1.31/fastjson-1.1.31.jar
Downloading: http://192.168.1.100:8081/nexus/content/groups/public/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.578s
[INFO] Finished at: Fri Dec 20 14:47:59 CST 2013
[INFO] Final Memory: 8M/100M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sypro: Could not resolve dependencies for project sy.demo:sypro:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.springframework:spring-core:jar:3.2.3.RELEASE, org.springframework:spring-jdbc:jar:3.2.3.RELEASE, org.springframework:spring-tx:jar:3.2.3.RELEASE, net.sf.ehcache:ehcache:jar:2.7.0, org.javassist:javassist:jar:3.15.0-GA, junit:junit:jar:4.11, org.aspectj:aspectjweaver:jar:1.7.2, com.alibaba:fastjson:jar:1.1.31, javax.servlet:servlet-api:jar:2.5: Could not find artifact org.springframework:spring-core:jar:3.2.3.RELEASE in nexus (http://192.168.1.100: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/DependencyResolutionException
10 个解决方案
#1
自己先顶一个!!!
#2
我和你的问题一样,正在找方法呢,
#3
把包删了重新下载一下试试
#4
Failed to execute goal on project *: Could not resolve dependencies for project * Failure to find in * was cached in the local repository 一样的错误 感觉这东西就是抽疯
#5
[WARNING] Could not transfer metadata org.eclipse.equinox:common/maven-metadata.xml from/to activiti-repos (https://maven.alfresco.com/nexus/content/groups/public): Could not generate DH keypair
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.671s
[INFO] Finished at: Thu Mar 05 09:03:57 CST 2015
[INFO] Final Memory: 10M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jeesite3: Could not resolve dependencies for project com.thinkgem.jeesite:jeesite3:war:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.eclipse:swt:jar:3.3.0-v3346 (compile), org.eclipse:draw2d:jar:3.2.100-v20070529 (compile), org.eclipse:jface:jar:3.3.0-I20070606-0010 (compile), bitwalker:UserAgentUtils:jar:1.9 (compile), org.zeroturnaround:zt-zip:jar:1.6 (compile), org.springframework:spring-core:jar:3.2.5.RELEASE (compile), org.springframework:spring-beans:jar:3.2.5.RELEASE (compile), org.springframework:spring-context:jar:3.2.5.RELEASE (compile), org.springframework:spring-context-support:jar:3.2.5.RELEASE (compile), org.springframework:spring-aop:jar:3.2.5.RELEASE (compile), org.springframework:spring-tx:jar:3.2.5.RELEASE (compile), org.springframework:spring-orm:jar:3.2.5.RELEASE (compile), org.springframework:spring-jdbc:jar:3.2.5.RELEASE (compile), org.aspectj:aspectjrt:jar:1.7.4 (compile), org.aspectj:aspectjweaver:jar:1.7.4 (compile), cglib:cglib:jar:3.1 (runtime), org.hibernate:hibernate-core:jar:4.2.0.Final (compile), org.hibernate:hibernate-ehcache:jar:4.2.0.Final (compile), org.hibernate:hibernate-validator:jar:5.0.1.Final (compile), org.hibernate:hibernate-search:jar:4.2.0.Final (compile), org.wltea:analyzer:jar:2012_u6 (compile), com.alibaba:druid:jar:1.0.1 (compile), mysql:mysql-connector-java:jar:5.1.13 (runtime), org.springframework:spring-web:jar:3.2.5.RELEASE (compile), org.springframework:spring-webmvc:jar:3.2.5.RELEASE (compile), org.springframework:spring-oxm:jar:3.2.5.RELEASE (compile), opensymphony:sitemesh:jar:2.4.2 (runtime), taglibs:standard:jar:1.1.2 (compile), javax.servlet:jstl:jar:1.2 (compile), javax.servlet:servlet-api:jar:2.5 (provided), javax.servlet.jsp:jsp-api:jar:2.1 (provided), net.sf.ehcache:ehcache-core:jar:2.6.6 (compile), net.sf.ehcache:ehcache-web:jar:2.0.4 (compile), org.apache.shiro:shiro-core:jar:1.2.2 (compile), org.apache.shiro:shiro-spring:jar:1.2.2 (compile), org.apache.shiro:shiro-web:jar:1.2.2 (compile), org.apache.shiro:shiro-ehcache:jar:1.2.2 (compile), org.slf4j:slf4j-api:jar:1.7.5 (compile), org.slf4j:slf4j-log4j12:jar:1.7.5 (runtime), org.slf4j:jcl-over-slf4j:jar:1.7.5 (runtime), org.slf4j:jul-to-slf4j:jar:1.7.5 (runtime), log4j:log4j:jar:1.2.17 (compile), org.lazyluke:log4jdbc-remix:jar:0.2.7 (runtime), org.apache.commons:commons-lang3:jar:3.1 (compile), commons-io:commons-io:jar:2.4 (compile), commons-codec:commons-codec:jar:1.8 (compile), commons-fileupload:commons-fileupload:jar:1.3 (compile), commons-beanutils:commons-beanutils:jar:1.8.3 (compile), com.google.guava:guava:jar:14.0.1 (compile), com.fasterxml.jackson.core:jackson-core:jar:2.2.1 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.2.1 (compile), com.fasterxml.jackson.core:jackson-annotations:jar:2.2.1 (compile), com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.2.1 (compile), com.thoughtworks.xstream:xstream:jar:1.4.3 (compile), net.sf.dozer:dozer:jar:5.4.0 (compile), org.freemarker:freemarker:jar:2.3.19 (compile), javax.mail:mail:jar:1.4.7 (compile), javax.activation:activation:jar:1.1.1 (compile), org.apache.poi:poi:jar:3.9 (compile), org.apache.poi:poi-ooxml:jar:3.9 (compile), org.apache.poi:poi-ooxml-schemas:jar:3.9 (compile), com.drewnoakes:metadata-extractor:jar:2.6.2 (compile), net.coobird:thumbnailator:jar:0.4.2 (compile), com.ckfinder:apache-ant-zip:jar:2.3 (compile), com.ckfinder:ckfinder:jar:2.3 (compile), com.ckfinder:ckfinderplugin-fileeditor:jar:2.3 (compile), com.ckfinder:ckfinderplugin-imageresize:jar:2.3 (compile), junit:junit:jar:4.11 (compile), org.springframework:spring-test:jar:3.2.5.RELEASE (compile)]: Failed to read artifact descriptor for org.eclipse:swt:jar:3.2.1-v3235: Could not transfer artifact org.eclipse:swt:pom:3.2.1-v3235 from/to activiti-repos (https://maven.alfresco.com/nexus/content/groups/public): Could not generate DH keypair: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [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/DependencyResolutionException
#6
问题解决了吗楼主,碰到了同样的问题,上传到nexus的jar包都更新不到maven本地库,导致项目都引用不到
#7
在父pom文件上执行下 clean install试试
#8
这个好像可行,但原因是什么呢?
#9
降低maven的版本
#10
执行update project 更新下项目,原因应该是之前加载包时报错导致的
#1
自己先顶一个!!!
#2
我和你的问题一样,正在找方法呢,
#3
把包删了重新下载一下试试
#4
Failed to execute goal on project *: Could not resolve dependencies for project * Failure to find in * was cached in the local repository 一样的错误 感觉这东西就是抽疯
#5
[WARNING] Could not transfer metadata org.eclipse.equinox:common/maven-metadata.xml from/to activiti-repos (https://maven.alfresco.com/nexus/content/groups/public): Could not generate DH keypair
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.671s
[INFO] Finished at: Thu Mar 05 09:03:57 CST 2015
[INFO] Final Memory: 10M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jeesite3: Could not resolve dependencies for project com.thinkgem.jeesite:jeesite3:war:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.eclipse:swt:jar:3.3.0-v3346 (compile), org.eclipse:draw2d:jar:3.2.100-v20070529 (compile), org.eclipse:jface:jar:3.3.0-I20070606-0010 (compile), bitwalker:UserAgentUtils:jar:1.9 (compile), org.zeroturnaround:zt-zip:jar:1.6 (compile), org.springframework:spring-core:jar:3.2.5.RELEASE (compile), org.springframework:spring-beans:jar:3.2.5.RELEASE (compile), org.springframework:spring-context:jar:3.2.5.RELEASE (compile), org.springframework:spring-context-support:jar:3.2.5.RELEASE (compile), org.springframework:spring-aop:jar:3.2.5.RELEASE (compile), org.springframework:spring-tx:jar:3.2.5.RELEASE (compile), org.springframework:spring-orm:jar:3.2.5.RELEASE (compile), org.springframework:spring-jdbc:jar:3.2.5.RELEASE (compile), org.aspectj:aspectjrt:jar:1.7.4 (compile), org.aspectj:aspectjweaver:jar:1.7.4 (compile), cglib:cglib:jar:3.1 (runtime), org.hibernate:hibernate-core:jar:4.2.0.Final (compile), org.hibernate:hibernate-ehcache:jar:4.2.0.Final (compile), org.hibernate:hibernate-validator:jar:5.0.1.Final (compile), org.hibernate:hibernate-search:jar:4.2.0.Final (compile), org.wltea:analyzer:jar:2012_u6 (compile), com.alibaba:druid:jar:1.0.1 (compile), mysql:mysql-connector-java:jar:5.1.13 (runtime), org.springframework:spring-web:jar:3.2.5.RELEASE (compile), org.springframework:spring-webmvc:jar:3.2.5.RELEASE (compile), org.springframework:spring-oxm:jar:3.2.5.RELEASE (compile), opensymphony:sitemesh:jar:2.4.2 (runtime), taglibs:standard:jar:1.1.2 (compile), javax.servlet:jstl:jar:1.2 (compile), javax.servlet:servlet-api:jar:2.5 (provided), javax.servlet.jsp:jsp-api:jar:2.1 (provided), net.sf.ehcache:ehcache-core:jar:2.6.6 (compile), net.sf.ehcache:ehcache-web:jar:2.0.4 (compile), org.apache.shiro:shiro-core:jar:1.2.2 (compile), org.apache.shiro:shiro-spring:jar:1.2.2 (compile), org.apache.shiro:shiro-web:jar:1.2.2 (compile), org.apache.shiro:shiro-ehcache:jar:1.2.2 (compile), org.slf4j:slf4j-api:jar:1.7.5 (compile), org.slf4j:slf4j-log4j12:jar:1.7.5 (runtime), org.slf4j:jcl-over-slf4j:jar:1.7.5 (runtime), org.slf4j:jul-to-slf4j:jar:1.7.5 (runtime), log4j:log4j:jar:1.2.17 (compile), org.lazyluke:log4jdbc-remix:jar:0.2.7 (runtime), org.apache.commons:commons-lang3:jar:3.1 (compile), commons-io:commons-io:jar:2.4 (compile), commons-codec:commons-codec:jar:1.8 (compile), commons-fileupload:commons-fileupload:jar:1.3 (compile), commons-beanutils:commons-beanutils:jar:1.8.3 (compile), com.google.guava:guava:jar:14.0.1 (compile), com.fasterxml.jackson.core:jackson-core:jar:2.2.1 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.2.1 (compile), com.fasterxml.jackson.core:jackson-annotations:jar:2.2.1 (compile), com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.2.1 (compile), com.thoughtworks.xstream:xstream:jar:1.4.3 (compile), net.sf.dozer:dozer:jar:5.4.0 (compile), org.freemarker:freemarker:jar:2.3.19 (compile), javax.mail:mail:jar:1.4.7 (compile), javax.activation:activation:jar:1.1.1 (compile), org.apache.poi:poi:jar:3.9 (compile), org.apache.poi:poi-ooxml:jar:3.9 (compile), org.apache.poi:poi-ooxml-schemas:jar:3.9 (compile), com.drewnoakes:metadata-extractor:jar:2.6.2 (compile), net.coobird:thumbnailator:jar:0.4.2 (compile), com.ckfinder:apache-ant-zip:jar:2.3 (compile), com.ckfinder:ckfinder:jar:2.3 (compile), com.ckfinder:ckfinderplugin-fileeditor:jar:2.3 (compile), com.ckfinder:ckfinderplugin-imageresize:jar:2.3 (compile), junit:junit:jar:4.11 (compile), org.springframework:spring-test:jar:3.2.5.RELEASE (compile)]: Failed to read artifact descriptor for org.eclipse:swt:jar:3.2.1-v3235: Could not transfer artifact org.eclipse:swt:pom:3.2.1-v3235 from/to activiti-repos (https://maven.alfresco.com/nexus/content/groups/public): Could not generate DH keypair: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [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/DependencyResolutionException
#6
问题解决了吗楼主,碰到了同样的问题,上传到nexus的jar包都更新不到maven本地库,导致项目都引用不到
#7
在父pom文件上执行下 clean install试试
#8
这个好像可行,但原因是什么呢?
#9
降低maven的版本
#10
执行update project 更新下项目,原因应该是之前加载包时报错导致的