Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Unable to satisfy dependency error

Thanks Nick. Here is the full trace:

DEBUG] Added 100 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject:
com.iwaysoftware.integration.tools:com.iwaysoftware.transformer.feature:1.0.0.qualifier
@ /home/akravets/dev/workspaces/maven.tycho/product-aggregator/com.iwaysoftware.transformer.feature/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed:
com.iwaysoftware.transformer.feature.feature.group 1.0.0.qualifier
[ERROR]   Missing requirement:
com.iwaysoftware.transformer.feature.feature.group 1.0.0.qualifier
requires 'com.iwaysoftware.iwtrans.editor 0.0.0' but it could not be
found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found
because the problem is unsatisfiable.": ["Unable to satisfy dependency
from com.iwaysoftware.transformer.feature.feature.group
1.0.0.qualifier to com.iwaysoftware.iwtrans.editor 0.0.0.", "Unable to
satisfy dependency from org.eclipse.jdt.core
3.7.0.v_OTDT_r200_201106070730 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.1.v_OTDT_r201_201109101025 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.3.v_OTDT_r202_201202051448 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: "No solution found because the problem is
unsatisfiable.": ["Unable to satisfy dependency from
com.iwaysoftware.transformer.feature.feature.group 1.0.0.qualifier to
com.iwaysoftware.iwtrans.editor 0.0.0.", "Unable to satisfy dependency
from org.eclipse.jdt.core 3.7.0.v_OTDT_r200_201106070730 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.1.v_OTDT_r201_201109101025 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.3.v_OTDT_r202_201202051448 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"No solution found because the problem is unsatisfiable."]
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
com.iwaysoftware.transformer.feature.feature.group 1.0.0.qualifier to
com.iwaysoftware.iwtrans.editor 0.0.0.", "Unable to satisfy dependency
from org.eclipse.jdt.core 3.7.0.v_OTDT_r200_201106070730 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.1.v_OTDT_r201_201109101025 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"Unable to satisfy dependency from org.eclipse.jdt.core
3.7.3.v_OTDT_r202_201202051448 to
org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
"No solution found because the problem is unsatisfiable."]
	at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:77)
	at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:89)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:122)
	at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:80)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:377)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:354)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:103)
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	... 11 more

I don't think "Missing requirement:
com.iwaysoftware.transformer.feature.feature.group 1.0.0.qualifier
requires 'com.iwaysoftware.iwtrans.editor 0.0.0' but it could not be
found" means what it thinks it means, because it does not depend on
any JDT plugins, just some resource features and EMF stuff.

On Fri, Dec 7, 2012 at 1:24 AM, Nick Boldt <nickboldt@xxxxxxxxx> wrote:
> Sometimes that error is a red herring -- a misleading error message that's
> reported AFTER the actual problem in the log. Look higher up in the log for
> the REAL problem.
>
> If there is no other error logged, you might try mirroring the Eclipse
> Indigo or Juno site, then strip out the offending IUs & regenerating the
> metadata. We did that for JBoss Tools and it's worked pretty well.
>
> Here are two ant scripts you can call from Eclipse (or via commandline) to
> mirror, clean, and regen the site, then use that in your builds.
>
> http://download.jboss.org/jbosstools/updates/requirements/indigo/build.xml
> http://download.jboss.org/jbosstools/updates/requirements/juno/build.xml
>
> HTH,
>
> Nick
>
>
> On 12/06/2012 05:31 PM, Alex Kravets wrote:
>>
>> Hello,
>>
>> During install I get the following error:
>>
>> Unable to satisfy dependency from org.eclipse.jdt.core
>> 3.7.0.v_OTDT_r200_201106070730 to
>> org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
>> "Unable to satisfy dependency from org.eclipse.jdt.core
>> 3.7.1.v_OTDT_r201_201109101025 to
>> org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
>> "Unable to satisfy dependency from org.eclipse.jdt.core
>> 3.7.3.v_OTDT_r202_201202051448 to
>> org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).",
>> "No solution found because the problem is unsatisfiable."]
>>
>> I read different threads about this error, and tried suggested
>> approaches, but still error occurs. I tried adding requirements for
>> dependency resolution:
>>
>> <dependency-resolution>
>>         <extraRequirements>
>>                 <requirement>
>>                         <type>p2-installable-unit</type>
>>                         <id>org.eclipse.jdt.feature.group</id>
>>                         <versionRange>0.0.0</versionRange>
>>                 </requirement>
>>         </extraRequirements>
>> </dependency-resolution>
>>
>> but that didn't seem to do anything. In my target definition I see
>> that o.e.jdt.core is not org.eclipse.jdt.core
>> 3.7.0.v_OTDT_r200_201106070730, so I am not sure why this version is
>> being considered. Unless I am failing to use binding of target
>> definition between target pom and parent pom correctly.
>>
>> Can anyone suggest what is the solution for this error?
>>
>> The are my parent pom: http://pastebin.com/FTMWBxKY and target
>> definition pom: http://pastebin.com/znQijxLz
>>
>> Thanks,
>> Alex
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
>
> --
> Nick Boldt :: http://nick.divbyzero.com
>
>


Back to the top