构建失败,并显示:
[java] [INFO] Computing target platform for MavenProject: org.eclipse.persistence:org.eclipse.persistence.sdo:2.6.0-SNAPSHOT @ /home/xix/Projects/eclipselink-2.6.0/sdo/org.eclipse.persistence.sdo/pom.xml
[java] [INFO] Resolving dependencies of MavenProject: org.eclipse.persistence:org.eclipse.persistence.sdo:2.6.0-SNAPSHOT @ /home/xix/Projects/eclipselink-2.6.0/sdo/org.eclipse.persistence.sdo/pom.xml
[java] [INFO] Cannot complete the request. Generating details.
[java] [INFO] Cannot complete the request. Generating details.
[java] [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[java] [ERROR] Cannot resolve project dependencies:
[java] [ERROR] Software being installed: org.eclipse.persistence.sdo 2.6.0.qualifier
[java] [ERROR] Missing requirement: org.eclipse.persistence.sdo 2.6.0.qualifier requires 'bundle org.eclipse.persistence.asm [5.0.1,5.0.2)' but it could not be found
[java] [ERROR]
[java] [ERROR] Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.persistence.sdo 2.6.0.qualifier to bundle org.eclipse.persistence.asm [5.0.1,5.0.2).; No solution found because the problem is unsatisfiable.] -> [Help 1]
[java] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.persistence.sdo 2.6.0.qualifier to bundle org.eclipse.persistence.asm [5.0.1,5.0.2).; No solution found because the problem is unsatisfiable.]
[java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
[java] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[java] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[java] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[java] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[java] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[java] Caused by: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.eclipse.persistence.sdo 2.6.0.qualifier to bundle org.eclipse.persistence.asm [5.0.1,5.0.2).; No solution found because the problem is unsatisfiable.]
[java] at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
[java] at org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
[java] at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
[java] at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:166)
[java] at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:103)
[java] at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:352)
[java] at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:325)
[java] at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:107)
[java] at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
[java] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
[java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[java] ... 11 more
[java] [ERROR]
[java] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[java] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[java] [ERROR]
[java] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[java] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
我想念什么?
答案 0 :(得分:0)
如果要构建eclipselink,请从github的以下链接下载。
https://github.com/eclipse-ee4j/eclipselink/archive/master.zip
下载后,以ant -f antbuild.xml
的身份运行ant命令