Hi, sorry to ask for help again, I'm still rather new to WO. After moving some components around in Eclipse/WOLips, I'm getting the following error upon launch:

(ERXNSLogLog4jBridge.java:44) DEBUG NSLog - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main at "file:/Users/thompsonaaron/PROGRAMMING/ eclipseworkspace/MyApp/build/MyApp.woa/". (ERXNSLogLog4jBridge.java:41) WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: Unable to find framework named "MyApp".
<WorkerThread0> java.lang.IllegalStateException: Unable to find framework named "MyApp". at com .webobjects .appserver ._private.WOComponentDefinition.<init>(WOComponentDefinition.java:271) at com .webobjects .appserver .WOApplication._componentDefinitionFromClassNamed(WOApplication.java: 2766) at com .webobjects .appserver.WOApplication._componentDefinition(WOApplication.java:2870) at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java: 2312) at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedSession(WOComponentRequestHandler.java:284)
        ...

I tried moving my Main component into the root directory and relaunched, then back into the Components directory and relaunched, all to no avail. After poking around, I found that in the built .woa, it was placing all the components in
build/MyApp.woa/Contents/Resources/Components
Interesting, I thought all the WOComponents just went in the Resources folder. So then to further explore the issue, I moved all the WOComponents to ../Resources, and this made it work initially. However, it choked again when trying to access a component within a subfolder with the same error:

(ERXNSLogLog4jBridge.java:44) DEBUG NSLog - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component AdminHome at "file:/Users/thompsonaaron/ PROGRAMMING/eclipseworkspace/MyApp/build/MyApp.woa/". (ERXNSLogLog4jBridge.java:41) WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: Unable to find framework named "MyApp".
<WorkerThread0> java.lang.IllegalStateException: Unable to find framework named "MyApp". at com .webobjects .appserver ._private.WOComponentDefinition.<init>(WOComponentDefinition.java:271) at com .webobjects .appserver .WOApplication._componentDefinitionFromClassNamed(WOApplication.java: 2766) at com .webobjects .appserver.WOApplication._componentDefinition(WOApplication.java:2870) at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java: 2312) at com.webobjects.appserver.WOComponent.pageWithName(WOComponent.java: 1320)
        at org.MyApp.web.Login.doLogin(Login.java:49)
        ...

Am I doing something stupid here? How does the default WOLips/Project WOnder App configure where it puts build resources like WOComponents? And do I need to do something special if I want to organize my WOComponents into folders?

Much appreciated,
Aaron Thompson
_______________________________________________
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