Hi Jerry,

On 2012-02-16, at 9:30 AM, Jerry W. Walker wrote:

> Hi,
> 
> I'm getting an "Unable to create page 'Main'." message when trying to run my 
> first created test app.
> 
> I created a new application:
> 
>   1. Chose New->Project from the context menu in WO Explorer view of the 
> WOLips perspective.
> 
>   2. Selected WOLips->WebObjects Application in the New Project wizard and 
> clicked Next.

That template may be broken.  I'd make all new apps Wonder apps.


>   3. Named the project "WOTest", used the default location and clicked Finish.
> 
>   4. Opened the project in the WO Explorer view, opened Sources->your.app and 
> selected Application.java.
> 
>   5. From the context menu on that selection, I chose Run as->WOApplication.
> 
> The project started up normally, then displayed a web exception page with the 
> message:
> 
>      Application: JavaFoundation
>      Error: com.webobjects.appserver.WOPageNotFoundException exception
>      Reason:
>      com.webobjects.appserver.WOPageNotFoundException: 
> <your.app.Application>: Unable to create page 'Main'.
> 
> In the WOTest project I created, there is a 
> Sources->your.app.components->Main.java which contains the code I want (from 
> the template, I assume). I made no changes to the generated code.
> 
> There is also a Components->Main WO which, when clicked, shows:
> 
>   Main.html
>   Main.java
>   Main.wod
>   Main.woo
>   Main.api
>   Main.wo
> 
> in the WOLips Related view (as expected).
> 
> So, what must I do to get Eclipse/WOLips to recognize the Main.wo component 
> that it created?

Where is Main.java located?


Chuck


-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects








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

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

This email sent to arch...@mail-archive.com

Reply via email to