• 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: Main Not Found?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main Not Found?


  • Subject: Re: Main Not Found?
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 11 Oct 2007 22:31:55 +1000

On 11/10/2007, at 9:57 PM, Daniele Corti wrote:

2007/10/11, Jonathan Miller <email@hidden>:

I'm deploying a SSDD / WOLIPS application for the first time (with this application) and I'm getting the following error:

<VideoLuna>[2007-10-10 20:37:48 PDT] <TP-Processor2>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "Main".  If this is not intended
to be a classless component, check your framework settings and the
contents of your classpath file (in the .woa's Contents/
<PLATFORM_NAME> subdirectory).

MacOSXServerClassPath.txt looks normal?

APPROOT/Resources/Java/
APPROOT/VideoLuna.woa/Contents/Resources/Java/videoluna.jar
APPROOT//Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
APPROOT//Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
APPROOT//Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
APPROOT//Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
APPROOT//Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
APPROOT//Library/Frameworks/JavaWOJSPServlet.framework/Resources/ Java/
javawojspservlet.jar
APPROOT//Library/Frameworks/JavaXML.framework/Resources/Java/ javaxml.jar
APPROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar


Using Eclipse 3.2 latest stable release of WOLIPS.

Any guesses?

check in your woa and see if the component Main is in the Components Folder.

It's the java class that's being reported as missing.

Maybe for some strange behaviour eclipse doesn't start your project includes
with .wo files

Seems Jon is talking about at the time of deployment rather than testing.


Jon, is your Main class in the default package or some other package?
Are you using pageWithName(Main.class.getName()) rather than pageWithName("Main")?


with regards,
--

Lachlan Deck



_______________________________________________
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: 
 >re: Main Not Found? (From: Jonathan Miller <email@hidden>)
 >Re: Main Not Found? (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: Main Not Found?
  • Next by Date: Re: standalone ant build
  • Previous by thread: Re: Main Not Found?
  • Next by thread: Re: Main Not Found?
  • Index(es):
    • Date
    • Thread