Re: Help deploying in Eclipse
Re: Help deploying in Eclipse
- Subject: Re: Help deploying in Eclipse
- From: Pascal Robert <email@hidden>
- Date: Wed, 23 Jan 2008 08:39:52 -0500
Check the "principalClass" property in the build.properties file, it
should be "Application", good chance that you have "null.Application"
right now.
I am migrating a project to Eclipse. I have done this successfully
once, but now I have a weird issue. After building the dist file
for deploying, there is the following error when running:
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/Users/yaholo" -
DWOEnvClassPath="" -DWOApplicationClass= null.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=973 -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
Loading /Users/yaholo/apps/TPWApp/dist/TPWApp.woa/Contents/MacOS/
MacOSClassPath.txt
Generated classpath:
/Users/yaholo/apps/TPWApp/dist/TPWApp.woa/Contents/Resources/Java/
/Users/yaholo/apps/TPWApp/dist/TPWApp.woa/Contents/Resources/Java/
tpwapp.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/
Java/javafoundation.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/
Java/javajdbcadaptor.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/
Java/javawebobjects.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/
javaxml.jar
/Library/WebObjects/Extensions/axis- ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery-0.2.jar
/Library/WebObjects/Extensions/commons-logging-1.0.4.jar
/Library/WebObjects/Extensions/derby.jar
/Library/WebObjects/Extensions/derbyclient.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.14.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/serializer.jar
/Library/WebObjects/Extensions/servlet.jar
/Library/WebObjects/Extensions/wsdl4j-1.5.1.jar
/Library/WebObjects/Extensions/xalan.jar
/Library/WebObjects/Extensions/xercesImpl.jar
/Library/WebObjects/Extensions/xml-apis.jar
/Library/WebObjects/Extensions/
Can't load null.Application class, exiting...
java.lang.ClassNotFoundException: null.Application
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
This all seems to have to do with: -
DWOApplicationClass=null.Application
Where should I be looking to fix this?
_______________________________________________
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
_______________________________________________
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