SOLVED. Had a bad UNIXClassPath.txt on deployment.  Don't ask.

James


On Sep 5, 2011, at 7:24 PM, Pascal Robert wrote:

> 
> Le 2011-09-05 à 17:19, James Cicenia a écrit :
> 
>> All there and the "offending" page is at
> 
> Does your frameworks are in 
> BlessingsApp.woa/Contents/MacOS/MacOSClassPath.txt ?
> 
>> http://wiki.objectstyle.org/confluence/display/WO/Best+Practices-Starting+From+Scratch
>> 
>> towards the bottom
>> 
>> 
>> 
>> On Sep 5, 2011, at 3:22 PM, Pascal Robert wrote:
>> 
>>> 
>>> Le 2011-09-05 à 16:04, James Cicenia a écrit :
>>> 
>>>> Arrrgh. I did all that. Pushed the app to the server ran it.. still no 
>>>> stylesheet, login, and bam same error:
>>>> 
>>>>  'loginAction()' raised an Exception: java.lang.NoClassDefFoundError: 
>>>> com/jimijon/blessings/eos/User, formValues:{password = ("smartblessings"); 
>>>> username = ("jimijon"); }
>>>> ClassNotFoundException: com.jimijon.blessings.eos.User
>>>> 
>>>> Very frustrating.
>>> 
>>> In BlessingsApp.woa/Contents/Frameworks, does your two Model frameworks are 
>>> there?
>>> 
>>>> Maybe I am building my frameworks wrong:
>>>> 
>>>> I select a framework, select Framework, Right Click, Select WOLips Ant 
>>>> Tools, select Install
>>> 
>>> That's fine.
>>> 
>>>> Repeat to other two frameworks, then run the full build.xml in the project.
>>>> 
>>>> PS: THE WIKI says to link in the Projects when doing best practice and 
>>>> using Frameworks.
>>> 
>>> Yeah, might be pre-WOLips 3.4 instructions lurking around somewhere in the 
>>> wiki... That was the way of doing it in the days, but since WOLips 3.4, you 
>>> can work with the frameworks as source by linking to them as WO Library 
>>> instead of projects. On which page did you read that information?
>>> 
>>>> 
>>>> 
>>>> On Sep 5, 2011, at 1:38 PM, Pascal Robert wrote:
>>>> 
>>>>> Hi James,
>>>>> 
>>>>> Ok, so first, create a "Utilities" framework where you will put your JDBC 
>>>>> driver and other utilities and link that framework to the other two 
>>>>> frameworks and to the app. 
>>>>> 
>>>>> But the exact problem is that your two frameworks are linked as projects 
>>>>> in the build path of BlessingsApp, so that's why your frameworks are not 
>>>>> part of the build. Edit the build path (right-click -> Build Path -> 
>>>>> Configure Build Path) and remove the two projects from the Projects tab. 
>>>>> After that, add the frameworks in the Libraries tab (Add Library button 
>>>>> -> WebObjects Frameworks, and check the two frameworks). 
>>>>> 
>>>>> Remember that you have to build your two frameworks before building the 
>>>>> app, or else you will get an error saying that the frameworks doesn't 
>>>>> exist.
>>>>> 
>>>>>> It does:
>>>>>> 
>>>>>> #Sat Sep 03 16:21:18 CDT 2011
>>>>>> classes.dir=bin
>>>>>> component.inlineBindingPrefix=[
>>>>>> component.inlineBindingSuffix=]
>>>>>> component.wellFormedTemplateRequired=true
>>>>>> customInfoPListContent=
>>>>>> embed.Local=true
>>>>>> embed.Project=true
>>>>>> embed.System=true
>>>>>> embed.User=true
>>>>>> eoAdaptorClassName=
>>>>>> principalClass=com.jimijon.blessings.app.Application
>>>>>> project.name=BlessingsApp
>>>>>> project.name.lowercase=blessingsapp
>>>>>> project.type=application
>>>>>> webXML=false
>>>>>> webXML_CustomContent=
>>>>>> 
>>>>>> Just in case I am including the project zip
>>>>>> 
>>>>>> :-)
>>>>>> 
>>>>>> James
>>>>>> <Archive.zip>
>>>>>> 
>>>> 
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to [email protected]
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to