I tried compiling under Window and got similar results. I'm not sure what I was compiling when I got the javax problem, but here's (the beginning) of what I get when compiling User.java from the struts-example:
>From with in this directory: c:\jakara-tomcat-3.2.1\webapps\struats-example\web-inf\src\apache\struts\web app\example I type: javac User.java and get: User.java:234: cannot resolve symbol symbol : class Subscription location: class org.apache.struts.webapps.example.User public Subscription findSubscription(String host) . . . I assume the root problem is the compiler isn't finding struts.jar, but I put it the classpath environment var & I've also tried javac -classpath c:\jakara-tomcat-3.2.1\webapps\struats-example\web-inf\lib\struts.jar User.java. > -----Original Message----- > From: Jeff Oberlander [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 25, 2002 3:44 PM > To: 'Brad Rhoads' > Subject: FW: Struts (Examples) Compilation Requirements > > > I'm using Tomcat (but on windows). It should just nicely work. The > classpath is all self contained in the war. Which javax > classes can't it > find? There might be a problem with your Tomcat > installation. Give me more > specifics and I'll try to help. > > -----Original Message----- > From: Brad Rhoads [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 25, 2002 1:17 PM > To: [EMAIL PROTECTED] > Subject: Struts (Examples) Compilation Requirements > > > I'm trying to compile the Struts examples, but I'm getting > all kinds of > errors. (The provided classes are running OK, so I've done > something right > :). I just put all the .war files in the webapps dir & > restarted tomcat.) > > I'm looking for as detailed instructions on what I need to do/have > installed, etc. as possible. > > I'm fairly new to Linux, Java, & Struts so I'm looking for as > close to a > cookbook as I can find. > > I do have 2 specific questions though: First: what needs to be in the > CLASSPATH? > > Second: There are some javax libs being used. I can't figure > where to find > them. Apparently they're not installed as part of the standard SDK???? > > Thanks for the help. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>