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.
Maybe I am building my frameworks wrong:
I select a framework, select Framework, Right Click, Select WOLips Ant Tools,
select Install
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.
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>
>>
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]
