Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Maven Errors

Removing the .m2/repository directory solved the problem.

I had to keep the .m2 directory and my settings.xml file.

Thanks,

-Matt

On 02/02/2012 4:13 PM, Eric Gwin wrote:
Try again after removing the .m2 dir from your home dir

Sent from my iPhone

On 2012-02-02, at 4:08 PM, Matt MacIvor<matt.macivor@xxxxxxxxxx>  wrote:

Hi all,

As of a few minutes ago, when I attempt to build eclipselink, I'm getting maven errors. Did anything change recently that would cause this?

     [java] [INFO] PARTIAL IU: javax.persistence 2.0.3.v201010191057
     [java] [INFO] Cannot complete the request.  Generating details.
     [java] [INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.arch=x86_64, osgi.os=linux, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
     [java] [INFO] [Software being installed: org.eclipse.persistence.dbws 2.4.0.qualifier, Missing requirement: org.eclipse.persistence.dbws 2.4.0.qualifier requires 'bundle org.eclipse.persistence.asm 3.3.1' but it could not be found]
     [java] [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. ->  [Help 1]
     [java] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: 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:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [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: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
     [java]     at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:100)
     [java]     at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:360)
     [java]     at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:325)
     [java]     at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:472)
     [java]     at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:151)
     [java]     at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:86)
     [java]     at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
     [java]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
     [java]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
     [java]     ... 11 more
     [java] Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
     [java]     ... 20 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

BUILD FAILED
C:\EclipseLink_Clean\antbuild.xml:293: Java returned: 1

-Matt
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev



Back to the top