help:Exception in thread "main" java.lang.NoClassDefFoundError: Application
ThrinathJ <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I am trying to run a simple WOApplication. The exception at the
console level is
"Exception in thread "main" java.lang.NoClassDefFoundError:
Application".
I am running this app on MacOSX, WO 5.3.2, eclipse 3.2, java1.4.
The build path is configured to /Library/WebObjects/Applications/.
I also verified the package contents of MyApp.woa. I do find the main.class
in the resources directory.
But, when i run the app from terminal by adding the
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
WOROOT/Library/Frameworks/JavaPlot.framework/Resources/Java/javaplot.jar
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
WOROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
LOCALROOT/Library/Frameworks/BSGBusinessModel.framework/Resources/Java/somebusinessmodel.jar
to the MyApp.woa/contents/MacOS/MacOSClassPath its working properly.
When i do the same addition while running through eclipse its not working
properly.
Any ideas???
thanx,
thrinath.j
--
View this message in context: http://www.nabble.com/help%3AException-in-thread-%22main%22-java.lang.NoClassDefFoundError%3A-Application-tf2634308.html#a7352722
Sent from the WebObjects-Dev mailing list archive at Nabble.com.