Re: Very Newbie Question
Re: Very Newbie Question
- Subject: Re: Very Newbie Question
- From: Robin Hermann <email@hidden>
- Date: Tue, 10 Aug 2004 00:32:15 +0200
Thanks David,
That solved it. I saved the project in a folder with a space 'Software
Dev'.
They could have said that in the tutorial...
Robin Hermann
On 10 aug 2004, at 00:25, David Holt wrote:
> your path to the application cannot have ANY spaces. your app should
> be called HelloWorld
>
> david
>
> --
> True universality does not consist in knowing much, but in loving much.
>
> -Jakob Burckhardt
>
> from Sunbeams: http://www.thesunmagazine.org
>
> On 9 Aug 2004, at 2:58 PM, Robin Hermann wrote:
>
>> Hello List,
>>
>> I'm a First Timer to WebObjects and this List.
>> I want to explore to possibilities of WebOjects to extend my WebApp
>> knowledge, so started the 'Inside WebObject 5.2 - Web Applications'
>> book. Followed the 'Hello World!'-example.
>>
>> It returns the following:
>> ---------------------------------------------------------
>> [Session started at 2004-08-09 23:41:36 +0200.]
>> Reading MacOSClassPath.txt ...
>> Launching HelloWebObjects.woa ...
>> java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
>> -DWOLocalRootDirectory=""
>> -DWOUserDirectory="/Users/rob/Documents/Software
>> Dev/WOA/HelloWebObjects/build" -DWOEnvClassPath=""
>> -DWOApplicationClass=Application -DWOPlatform=MacOS
>> -Dcom.webobjects.pid=3018 -classpath WOBootstrap.jar
>> com.webobjects._bootstrap.WOBootstrap
>> appRoot is /Users/rob/Documents/Software
>> Dev/WOA/HelloWebObjects/build/HelloWebObjects.woa/Contents
>> Loading /Users/rob/Documents/Software
>> Dev/WOA/HelloWebObjects/build/HelloWebObjects.woa/Contents/MacOS/
>> MacOSClassPath.txt
>> Generated classpath:
>> /Users/rob/Documents/Software
>> Dev/WOA/HelloWebObjects/build/HelloWebObjects.woa/Contents/Resources/
>> Java/hellowebobjects.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
>> /Users/rob/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/saaj.jar
>> /Library/WebObjects/Extensions/servlet.jar
>> /Library/WebObjects/Extensions/wsdl4j.jar
>> /Library/WebObjects/Extensions/
>> Can't load Application class, exiting...
>> java.lang.ClassNotFoundException: Application
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)
>>
>> Executable HelloWebObjects has exited with status 1.
>> ---------------------------------------------------------
>>
>> That's not what the book states should happen.
>> The application class is there, it's created by Xcode.
>> In the docs couldn't find an answer.
>>
>> I'm hanging here, what it's next?
>>
>> My Info:
>> Xcode 1.5
>> WebObjects 5.2.3 (demo)
>> Mac OS X 10.3.4 Panther
>> aluBook, 15", 1 GHz
>>
>> Could someone point me in the 'right' direction, docs, tutorials.
>> Any help to get me started much appreciated.
>>
>> Robin Hermann
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.