Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » equinox.http.jetty cannot be found by help.base(class not found error)
equinox.http.jetty cannot be found by help.base [message #1729451] Thu, 14 April 2016 09:25 Go to next message
Dimitra Patroumpa is currently offline Dimitra PatroumpaFriend
Messages: 1
Registered: April 2016
Junior Member
Hello,

I have developed an eclipse rcp product using mars release in ubuntu 14.04.
In this product I have added help contents and everything works fine.

Now, I have moved on to creating the windows version of the product. Using the exact same dependencies and included plugins the following error appears when trying to load the help contents from my product:

!ENTRY org.eclipse.ui 4 0 2016-04-14 11:53:07.436
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/equinox/http/jetty/JettyConfigurator
at org.eclipse.help.internal.server.JettyHelpServer$StartServerThread.run(JettyHelpServer.java:78)
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.http.jetty.JettyConfigurator cannot be found by org.eclipse.help.base_4.0.301.v20160212-1500
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more

!ENTRY org.eclipse.help.base 4 0 2016-04-14 11:53:14.244
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.help.internal.base.HelpBasePlugin.stop() of bundle org.eclipse.help.base.
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:955)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:323)
at org.eclipse.osgi.container.Module.doStop(Module.java:626)
at org.eclipse.osgi.container.Module.stop(Module.java:488)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:144)
at org.eclipse.osgi.container.Module.doStop(Module.java:626)
at org.eclipse.osgi.container.Module.stop(Module.java:488)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:159)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/equinox/http/jetty/JettyConfigurator
at org.eclipse.help.internal.server.JettyHelpServer$StopServerThread.run(JettyHelpServer.java:96)
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.http.jetty.JettyConfigurator cannot be found by org.eclipse.help.base_4.0.301.v20160212-1500
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/equinox/http/jetty/JettyConfigurator
at org.eclipse.help.internal.server.JettyHelpServer$StopServerThread.run(JettyHelpServer.java:96)
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.http.jetty.JettyConfigurator cannot be found by org.eclipse.help.base_4.0.301.v20160212-1500
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more


Has anyone else dealt with something like this?

Thanks!
Dimitra
Re: equinox.http.jetty cannot be found by help.base [message #1729561 is a reply to message #1729451] Fri, 15 April 2016 13:53 Go to previous message
Eclipse UserFriend
What version of Eclipse are you building against? Neon/4.6?

I have seen this with Neon/4.6, but I haven't had time to sit down and figure it out. I thought it must be related to some of the recent changes in the equinox http component. I *think* setting
-Dorg.eclipse.equinox.http.jetty.autostart=false
may help.

Brian.
Previous Topic:Is there any easy way to search file with auto-detected charset
Next Topic:Eclipse Toolbar
Goto Forum:
  


Current Time: Tue Apr 16 16:20:20 GMT 2024

Powered by FUDForum. Page generated in 1.72266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top