Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Jetty Osgi Exception: The bundle "org.apache.jasper_xxx" could not be resolved

When I run the Jetty Server console shows the following error:

I tried adding org.apache.jasper and org.eclipse.equinox.util to run configurations but the message persists.

2015-01-30 13:29:09.617:INFO::jetty-6.1.x
2015-01-30 13:29:09.690:INFO::Started SelectChannelConnector@0.0.0.0:80
[ERROR] 2015-01-30 13:29:12.343 - FrameworkManager: An error event has occurred involving the bundle "org.apache.jasper_5.5.17.v201004212143 [490]".
org.osgi.framework.BundleException: The bundle "org.apache.jasper_5.5.17.v201004212143 [490]" could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.commons.el; version="[1.0.0,2.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

0 votes


Accepted answer

Permanent link
The missing package is not "org.apache.jasper", it's "org.apache.commons.el".

Are you working on RTC extension? If so, both packages should be included in the RTC SDK. Go through this workshop if you have not done so.
https://jazz.net/library/article/1000
Fran Burgos selected this answer as the correct answer

0 votes

Comments

I did it, and I have already developed some extensions but some errors about run configurations shown in the console.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,950

Question asked: Jan 30 '15, 7:38 a.m.

Question was seen: 2,898 times

Last updated: Feb 02 '15, 3:30 a.m.

Confirmation Cancel Confirm