On 11/10/2007, at 9:57 PM, Daniele Corti wrote:
2007/10/11, Jonathan Miller <[EMAIL PROTECTED]>:
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]