• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application class in a package {More Info}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application class in a package {More Info}


  • Subject: Re: Application class in a package {More Info}
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 14 Oct 2004 15:33:53 -0700

Looks a little odd.  What is in
/Users/ghulands/Development/Builds/ShoeBox.woa/Contents/MacOS/MacOSClassPath
.txt?

Have you tried the old "quit vexCode, delete the build directory, and
restart" trick?  vexCode is perverse in what it likes to cache and for how
long.

Chuck


At 08:25 AM 15/10/2004 +1000, Greg Hulands wrote:
>Here is the first few line of the generated class path:
>
>Reading MacOSClassPath.txt ...
>Launching ShoeBox.woa ...
>java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
>-DWOLocalRootDirectory=""
>-DWOUserDirectory="/Users/ghulands/Development/Builds"
>-DWOEnvClassPath=""
>-DWOApplicationClass=au.com.shoebox.woapplication.Application
>-DWOPlatform=MacOS -Dcom.webobjects.pid=10038 -classpath
>WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
>appRoot is /Users/ghulands/Development/Builds/ShoeBox.woa/Contents
>Loading
>/Users/ghulands/Development/Builds/ShoeBox.woa/Contents/MacOS/
>MacOSClassPath.txt
>Generated classpath:
>   /Users/ghulands/Development/Builds/ShoeBox.woa/Contents/
>
>/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
>
>It seems as though the first line is wrong, it should be
>.../Contents/Java/shoebox.jar.
>
>How would I fix this?
>
>Greg
>
>On 15/10/2004, at 8:07 AM, Greg Hulands wrote:
>
>> Xcode and Yes it is there. I opened it in the Jar Browser and the
>> classes are all there.
>>
>> I changed the setting of WOAPPLICATION_CLASS_NAME to
>> au.com.shoebox.woapplication.Application in the ShoeBox target.
>>
>> Greg
>>
>> On 15/10/2004, at 7:58 AM, Chuck Hill wrote:
>>
>>> Eclipse?  vexCode?  Is the shoebox.jar file actually there?
>>>
>>>
>>>
>>> At 07:46 AM 15/10/2004 +1000, Greg Hulands wrote:
>>>> Hi,
>>>> I have been packaging my classes up and am now getting a class not
>>>> found exception when trying to run.
>>>>
>>>> Can't load au.com.shoebox.woapplication.Application class, exiting...
>>>> java.lang.ClassNotFoundException:
>>>> au.com.shoebox.woapplication.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)
>>>>
>>>> In the Generated Classpath from WOBootstrap, I have noticed that the
>>>> shoebox.jar file is not there. This is the file in
>>>> /Contents/Resources/Java.
>>>>
>>>>
>>>> What am I doing wrong?
>>>>
>>>>
>>>> Any help is greatly appreciated.
>>>>
>>>> Regards,
>>>> Greg
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> chill@global-villag
>>> e.net
>>>>
>>>> This email sent to email@hidden
>>>>
>>>
>>> --
>>>
>>> Chuck Hill                                 email@hidden
>>> Global Village Consulting Inc.
>>> http://www.global-village.net
>>>
>>
>> _______________________________________________
>> 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
>>
>
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
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

  • Follow-Ups:
    • Re: Application class in a package {More Info}
      • From: Greg Hulands <email@hidden>
References: 
 >Re: Application class in a package (From: Greg Hulands <email@hidden>)
 >Re: Application class in a package (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Application class in a package {More Info}
  • Next by Date: Re: finding jpeg dimensions
  • Previous by thread: Re: Application class in a package {More Info}
  • Next by thread: Re: Application class in a package {More Info}
  • Index(es):
    • Date
    • Thread