Re: NoClassDefFoundErr WOAnyField
Re: NoClassDefFoundErr WOAnyField
- Subject: Re: NoClassDefFoundErr WOAnyField
- From: Jeff Schmitz <email@hidden>
- Date: Wed, 9 Jan 2008 23:02:10 -0600
Editing the ant.frameworks.wo.wosystemroot file directly (instead of
relying on the Framework Config window) to add the missing
JavaWOExtensions library worked! Would have never figured that out on
my own, especially when the Config window showed it as included.
Thanks again!
Jeff
On Jan 9, 2008, at 10:18 PM, Chuck Hill wrote:
That is from the JavaWOExtensions.framework. WO has one, so does
Wonder. Perhaps the classpath in that project does not match the
deployment machine's configuration.
Carefully look at App.woa/Contents/MacOS/MacOSClassPath.txt
Other than the stuff in /Library/Java/Extensions, /Library/
WebObjects/Extensions, and App.woa/Contents/Extensions, that file
should indicate everything the app has access to to.
Chuck
On Jan 9, 2008, at 7:57 PM, Jeff Schmitz wrote:
Now for something completely different.
I'm trying to deploy a new WonderApplication on my Tiger Server.
I already have one WonderApplication deployed and running on the
same server no problem. I added the new application using
JavaMonitor, and when I start it I get the below error. The new
application is really a simplification of the one I already have
running, so it doesn't have any dependencies (jar's, frameworks
etc.) that the other one that is running has. Any ideas here?
[2008-01-09 21:07:30 CST] <main> java.lang.NoClassDefFoundError:
com/webobjects/woextensions/WOAnyField
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at er.extensions.ERXApplication.class$(ERXApplication.java:34)
at er.extensions.ERXApplication.installPatches(ERXApplication.java:
69)
at er.extensions.ERXApplication.<init>(ERXApplication.java:122)
at Application.<init>(Application.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
323)
at er.extensions.ERXApplication.main(ERXApplication.java:50)
at Application.main(Application.java:90)
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:585)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden