• 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: More Help for Old Noobie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Help for Old Noobie


  • Subject: Re: More Help for Old Noobie
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Fri, 17 Feb 2012 15:59:26 +0800

I may check the file encoding by Preferences ->Workspace, and look at Text file encoding.   And may look at Main.woo, too.
The other thing is if there is any compilation problems :)
 
 
----- Original Message -----
From: Jerry W. Walker
To: WebObjects Development
Sent: Friday, February 17, 2012 1:30 AM
Subject: More Help for Old Noobie

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.

  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?

Regards,
Jerry



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your email sent to email@hidden
 _______________________________________________
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

References: 
 >More Help for Old Noobie (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: ERSolr - under development?
  • Next by Date: Re: ERCaptcha
  • Previous by thread: More Help for Old Noobie
  • Next by thread: Re: More Help for Old Noobie
  • Index(es):
    • Date
    • Thread