Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367556

Summary: Missing requirement: org.apache.jasper.glassfish 2.2.2.v201112011158 requires 'package javax.el 2.2.0' but it could not be found when resolving 3.8 based target platform
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
target definition none

Description Steffen Pingel CLA 2011-12-26 12:26:56 EST
Tycho fails to resolve the target definition that is used to bulid Mylyn against Eclipse 3.8. If I load the same target definition with PDE it resolves without problems. The error occurs with 0.13.0 and 0.14.0-SNAPSHOT.

[INFO] Resolving target platform for project MavenProject: org.eclipse.mylyn:org.eclipse.mylyn-site:3.7.0-SNAPSHOT @ /home/hudson/.hudson/jobs/mylyn-3.7.x/workspace/TARGET/juno/org.eclipse.mylyn/org.eclipse.mylyn-site/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=cocoa, osgi.arch=x86, osgi.os=macosx, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.mylyn-site raw:3.7.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):3.7.0-SNAPSHOT
[ERROR]   Missing requirement: org.apache.jasper.glassfish 2.2.2.v201112011158 requires 'package javax.el 2.2.0' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.help.feature.group 1.3.0.v20111111-8P7vFJSFHCVpkkfwjz0Y9LRg depends on: org.apache.jasper.glassfish [2.2.2.v201112011158]
[ERROR]   Cannot satisfy dependency: org.eclipse.jdt.feature.group 3.8.0.v20111130-1318-8-8lFnfFNOfwRQFKyWVBz0c89B15 depends on: org.eclipse.platform.feature.group 3.8.0
[ERROR]   Cannot satisfy dependency: org.eclipse.mylyn-site raw:3.7.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):3.7.0-SNAPSHOT depends on: org.eclipse.mylyn.java_feature.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.mylyn.java_feature.feature.group 3.7.0.qualifier depends on: org.eclipse.jdt.feature.group 3.4.0
[ERROR]   Cannot satisfy dependency: org.eclipse.platform.feature.group 3.8.0.v20111025-9gF7gHgYG0qBwt9xigwMR1SyTAIPsW0ACf1qVw depends on: org.eclipse.help.feature.group [1.3.0.v20111111-8P7vFJSFHCVpkkfwjz0Y9LRg]
[ERROR] 
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.sun.el 2.2.0.v201108011116 to package javax.el 2.2.0.", "Unable to satisfy dependency from javax.servlet.jsp 2.2.0.v201112011158 to package javax.el 2.2.0.", "Unable to satisfy dependency from org.apache.jasper.glassfish 2.2.2.v201112011158 to package javax.el 2.2.0.", "No solution found because the problem is unsatisfiable."]
[DEBUG] Closing connection to remote
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.sun.el 2.2.0.v201108011116 to package javax.el 2.2.0.", "Unable to satisfy dependency from javax.servlet.jsp 2.2.0.v201112011158 to package javax.el 2.2.0.", "Unable to satisfy dependency from org.apache.jasper.glassfish 2.2.2.v201112011158 to package javax.el 2.2.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.sun.el 2.2.0.v201108011116 to package javax.el 2.2.0.", "Unable to satisfy dependency from javax.servlet.jsp 2.2.0.v201112011158 to package javax.el 2.2.0.", "Unable to satisfy dependency from org.apache.jasper.glassfish 2.2.2.v201112011158 to package javax.el 2.2.0.", "No solution found because the problem is unsatisfiable."]
Comment 1 Steffen Pingel CLA 2011-12-26 12:27:25 EST
Created attachment 208805 [details]
target definition
Comment 2 Tobias Oberlies CLA 2012-01-02 08:02:12 EST
(In reply to comment #0)
> Tycho fails to resolve the target definition that is used to bulid Mylyn against
> Eclipse 3.8. If I load the same target definition with PDE it resolves without
> problems. The error occurs with 0.13.0 and 0.14.0-SNAPSHOT.
The problem is not that the target definition file cannot be resolved, but that your project has dependencies which cannot be satisfied from the target platform content:
> [ERROR] Cannot resolve project dependencies:

It seems that the package javax.el is not in your target platform, but I can't tell you either where to get it from, sorry. I believe that this is a configuration problem in your project and not a bug.
Comment 3 Steffen Pingel CLA 2012-06-03 08:45:46 EDT
Thanks Tobias. I am no longer seeing this error. I believe this was a temporary problem with the repository that we were building against.