• 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: ModernLook can't find it's WebServerResources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ModernLook can't find it's WebServerResources


  • Subject: Re: ModernLook can't find it's WebServerResources
  • From: James Cicenia <email@hidden>
  • Date: Mon, 05 Sep 2011 15:04:38 -0500

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>


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ModernLook can't find it's WebServerResources
      • From: Pascal Robert <email@hidden>
References: 
 >ModernLook can't find it's WebServerResources (From: James Cicenia <email@hidden>)
 >Re: ModernLook can't find it's WebServerResources (From: Pascal Robert <email@hidden>)
 >Re: ModernLook can't find it's WebServerResources (From: James Cicenia <email@hidden>)
 >Re: ModernLook can't find it's WebServerResources (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Feedback about issue with MySQL and get primary key
  • Next by Date: Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Previous by thread: Re: ModernLook can't find it's WebServerResources
  • Next by thread: Re: ModernLook can't find it's WebServerResources
  • Index(es):
    • Date
    • Thread