Re: PWO - Newbie can't figger out eclipse....
Re: PWO - Newbie can't figger out eclipse....
- Subject: Re: PWO - Newbie can't figger out eclipse....
- From: Sam loy <email@hidden>
- Date: Tue, 5 Jul 2005 10:00:37 -0500
How do I fix this? I've added the folder everywhere I can load it, I
think. I've added the src dir to the run dialog, every tab that would
let me add it in the Properties of the Chap4App.....I don't know what
to look for or where else to add it.
Sam
On Jul 1, 2005, at 5:49 PM, Chuck Hill wrote:
Fun, isn't it? :-P
Unfortunately, Eclipse is very flexible. The Library list used to
build the project is only used as the _default_ when a launcher is
created. It sounds like you have customized this default and
omitted the jar file from the Chap4App.
Chuck
On Jul 1, 2005, at 3:43 PM, Sam loy wrote:
OK. Fixed that issue, but now when I run it, I get this error,
that makes no sense to me, as it did build resulting in a
Chap4App.woa file....
Exception in thread "main" java.lang.NoClassDefFoundError: com/
apress/practicalwo/chap4app/Application
On Jul 1, 2005, at 5:09 PM, Chuck Hill wrote:
On Jul 1, 2005, at 12:58 PM, Sam loy wrote:
Okay...a bit irritated....
Trying to build the Chap4App from Practical Web Objects in
eclipse, which - for some reason - EVERYONE says is da
bomb.....I haven't even used xcode enough to understand why
eclipse is SOOO great....but being the good little indian I am,
I've decided to give it go.
:-)
I can build all the other apps from Practical WO just fine, and
I've already worked thru several class path issues with chap 4
successfully, but I keep getting this error:
"The import com.apress.practicalwo.appserver cannot be resolved"
in Application.java" Of course this leads to "PWOApplication
cannot be resolved or is an invalid super class" error.
Adding this to my classpath doesn't help. The PWExampleApp is
include as a Project, if I try to create a src folder in the
Chap4App project it says "It already exist" in...of
course...PWExampleApp....so....
If Eclipse know so much about this class - the project its in -
the src directory its in -- etc....why the heck can't it use it
to build Chap4App????
I suspect that you have somehow messed up the classpath while
working through the other classpath issues you had in that
chapter. The jar file from PWOExampleApps needs to be in the
libraries. Check that it is. The projects etc are just for
build ordering and ensuring that prerequisites are built first.
The Libraries are all that matters for compiling. I also found
this aspect of Eclipse confusing at first.
Sam "Will ever be able to deploy a WO App?" Loy
Some day, grasshopper.
Chuck
--
Practical WebObjects - a book for intermediate WebObjects
developers who want to increase their overall knowledge of
WebObjects, or those who are trying to solve specific application
development problems.
http://www.global-village.net/products/practical_webobjects
--
Practical WebObjects - a book for intermediate WebObjects
developers who want to increase their overall knowledge of
WebObjects, or those who are trying to solve specific application
development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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