Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » log error, missing class
log error, missing class [message #56577] Sat, 18 December 2004 18:15 Go to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
I'm using the wtp 2004-12-18 I-build with eclipse M4.

I am trying to use an existing Java project with a "web" folder containing a
complete webapp (worked with an old wtp build from 2004-12-02), but so far
cannot find any way to get this configured to run on Tomcat 5.0 server.
When adding a new server via the Servers view, it does not find any projects
to add to the server. Do I need to edit the .project file and add a Web
project nature? I'll try that next...

Choosing Run on Server for a JSP file results in this log message:

!ENTRY org.eclipse.core.runtime 4 1 2004-12-18 10:57:33.331
!MESSAGE Plug-in org.eclipse.jst.j2ee.ejb was unable to load class
org.eclipse.jst.j2ee.internal.ejb.deployables.EJBDeployableO bjectAdapter.
!STACK 0
java.lang.ClassNotFoundException:
org.eclipse.jst.j2ee.internal.ejb.deployables.EJBDeployableO bjectAdapter
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:404)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:332)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1315)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:161)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:151)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:138)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at
org.eclipse.wst.server.core.internal.ModuleArtifactAdapter.g etDelegate(ModuleArtifactAdapter.java:69)
at
org.eclipse.wst.server.core.internal.ModuleArtifactAdapter.g etModuleObject(ModuleArtifactAdapter.java:82)
at org.eclipse.wst.server.core.ServerUtil.getModule(ServerUtil. java:236)
at
org.eclipse.wst.server.ui.internal.actions.RunOnServerAction Delegate.selectionChanged(RunOnServerActionDelegate.java:519 )
at
org.eclipse.wst.server.ui.internal.ServerLaunchShortcut.laun ch(ServerLaunchShortcut.java:41)
Re: log error, missing class [message #56609 is a reply to message #56577] Sat, 18 December 2004 19:29 Go to previous messageGo to next message
Johannes Hiemer is currently offline Johannes HiemerFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Dave,
I got the same problem, including some problems with creating web projects.
There are no source-folders created
and the structure of a "Simple Web project" is completly different to the
release you mentioned "(worked with an
old wtp build from 2004-12-02). Till yet I couldn't find any way to
add/remove projects to a specific web server.
But creating and removing web server got better. In the preferences page it
is not possible to edit a specific server.
and starting the server leads to a: "Could not publish server configuration:
null" x Publishing failed. In the error log
is a: "Unhandled event loop exception" and a
"java.lang.NullPointerException".

Hope the provided information are enough!

Bye Johannes.

"Dave Carlson" <dcarlson@xmlmodeling.com> wrote in message
news:cq1s42$lbb$1@www.eclipse.org...
> I'm using the wtp 2004-12-18 I-build with eclipse M4.
>
> I am trying to use an existing Java project with a "web" folder containing
> a complete webapp (worked with an old wtp build from 2004-12-02), but so
> far cannot find any way to get this configured to run on Tomcat 5.0
> server. When adding a new server via the Servers view, it does not find
> any projects to add to the server. Do I need to edit the .project file
> and add a Web project nature? I'll try that next...
>
> Choosing Run on Server for a JSP file results in this log message:
>
> !ENTRY org.eclipse.core.runtime 4 1 2004-12-18 10:57:33.331
> !MESSAGE Plug-in org.eclipse.jst.j2ee.ejb was unable to load class
> org.eclipse.jst.j2ee.internal.ejb.deployables.EJBDeployableO bjectAdapter.
> !STACK 0
> java.lang.ClassNotFoundException:
> org.eclipse.jst.j2ee.internal.ejb.deployables.EJBDeployableO bjectAdapter
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:404)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:332)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1315)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:161)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:151)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:138)
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
> at
> org.eclipse.wst.server.core.internal.ModuleArtifactAdapter.g etDelegate(ModuleArtifactAdapter.java:69)
> at
> org.eclipse.wst.server.core.internal.ModuleArtifactAdapter.g etModuleObject(ModuleArtifactAdapter.java:82)
> at org.eclipse.wst.server.core.ServerUtil.getModule(ServerUtil. java:236)
> at
> org.eclipse.wst.server.ui.internal.actions.RunOnServerAction Delegate.selectionChanged(RunOnServerActionDelegate.java:519 )
> at
> org.eclipse.wst.server.ui.internal.ServerLaunchShortcut.laun ch(ServerLaunchShortcut.java:41)
>
Re: log error, missing class [message #56663 is a reply to message #56609] Sun, 19 December 2004 15:21 Go to previous message
Eclipse UserFriend
Originally posted by: ads.houston.rr.com

I had the same problem. I found that if I did it in two steps it worked.
delete server, define server (do not define projects to add), then
right click on server and add and remove projects.

Tony BenBrahim

"Johannes Hiemer" <jhiemer@web.de> wrote in
news:cq20fn$1ai$1@www.eclipse.org:

>
> and starting the server leads to a: "Could not publish server
> configuration: null" x Publishing failed. In the error log
> is a: "Unhandled event loop exception" and a
> "java.lang.NullPointerException".
>
Previous Topic:ibm wtp contribution v eclipse wtp
Next Topic:Where to get help on FTP?
Goto Forum:
  


Current Time: Tue Dec 03 16:51:38 GMT 2024

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

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

Back to the top