Re: NoClassDefFoundError com/webobjects/_eoproject/_WBInterfaceDescriptor
Re: NoClassDefFoundError com/webobjects/_eoproject/_WBInterfaceDescriptor
- Subject: Re: NoClassDefFoundError com/webobjects/_eoproject/_WBInterfaceDescriptor
- From: Don Lindsay <email@hidden>
- Date: Thu, 14 Apr 2005 16:29:29 -0400
Hello;
That took care of the problem. I removed the frameworks and added them
again and now the application works.
Thanks
Don
On Apr 14, 2005, at 3:52 PM, Chuck Hill wrote:
On Apr 14, 2005, at 12:34 PM, Don Lindsay wrote:
Hello;
I have checked, the file is available on the classpath: Here are the
results of attempting to run the application:
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
-DWOLocalRootDirectory=""
-DWOUserDirectory="/Users/don/AppleDevelopment/damisApp/build"
-DWOEnvClassPath="" -DWOApplicationClass=Application
-DWOPlatform=MacOS -Dcom.webobjects.pid=6274 -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
appRoot is
/Users/don/AppleDevelopment/damisApp/build/damisApp.woa/Contents
Loading
/Users/don/AppleDevelopment/damisApp/build/damisApp.woa/Contents/
MacOS/MacOSClassPath.txt
Generated classpath:
/Users/don/AppleDevelopment/damisApp/build/damisApp.woa/Contents/
Resources/Java/damisapp.jar
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/
javadirecttoweb.jar
/System/Library/Frameworks/JavaEODistribution.framework/Resources/
Java/javaeodistribution.jar
/System/Library/Frameworks/JavaWOSMIL.framework/Resources/Java/
javawosmil.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
/System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
/System/Library/Frameworks/JavaWOJSPServlet.framework/Resources/Java/
javawojspservlet.jar
These lines are wrong (incomplete path)
JavaEOApplication.framework/Resources/Java/javaeoapplication.jar
JavaEOGeneration.framework/Resources/Java/javaeogeneration.jar
JavaEOInterface.framework/Resources/Java/javaeointerface.jar
JavaEOInterfaceSwing.framework/Resources/Java/
javaeointerfaceswing.jar
JavaEOProject.framework/Resources/Java/javaeoproject.jar
JavaEOTool.framework/Resources/Java/javaeotool.jar
No, I don't know how you did that or how to fix it. Try removing
those frameworks from your project and adding them back again.
Chuck
/Users/don/Library/Java
/Library/Java/
/System/Library/Java/
/Network/Library/Java
/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
/Library/WebObjects/Extensions/avalon-framework-4.1.2.jar
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.4.jar
/Library/WebObjects/Extensions/logkit-1.0.1.jar
/Library/WebObjects/Extensions/ojdbc14.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/servlet.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
[2005-04-14 15:31:29 EDT] <main> A fatal exception occurred:
com/webobjects/_eoproject/_WBInterfaceDescriptor
[2005-04-14 15:31:29 EDT] <main> java.lang.NoClassDefFoundError:
com/webobjects/_eoproject/_WBInterfaceDescriptor
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilit
ies.java:307)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java
:291)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:
2554)
at
com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:
710)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:368)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WO
Properties.java:179)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
5049)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:551)
at Application.<init>(Application.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
rAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at Application.main(Application.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
Thanks for all your help.
Don Lindsay
On Apr 14, 2005, at 2:56 PM, Chuck Hill wrote:
Looks like it is missing the path for
/System/Library/Frameworks/JavaEOProject.framework/Resources/Java/
javaeoproject.jar
On Apr 14, 2005, at 11:31 AM, Don Lindsay wrote:
Hello;
I have an application that was running fine, all of a sudden it no
longer starts up and throws:
[2005-04-14 14:28:15 EDT] <main> A fatal exception occurred:
com/webobjects/_eoproject/_WBInterfaceDescriptor
[2005-04-14 14:28:15 EDT] <main> java.lang.NoClassDefFoundError:
com/webobjects/_eoproject/_WBInterfaceDescriptor
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtil
ities.java:307)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.ja
va:291)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:
2554)
at
com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.jav
a:710)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:368)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(
WOProperties.java:179)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java
:5049)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
551)
at Application.<init>(Application.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruc
torAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegating
ConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at Application.main(Application.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
ssorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
I am not sure what has changed in the project to cause this issue.
Is there a jar file missing from the classpath? If so what jar
file should I be looking for?
Thanks
Don Lindsay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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