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: Chuck Hill <email@hidden>
- Date: Fri, 1 Jul 2005 15:49:30 -0700
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