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.
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
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?
Regards,
Jerry