tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
I have never seen an error from javac like this before(and I am by no
means new to java).  I have even read the JLS and am not sure what in
the world this is.  Can anyone point me somewhere on how to resolve this
issue?  Or possibly point me to a build.xml for tomcat5 that works?  The
one on the website does not work as I get the below.  I am using
1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
version of java are you using?

 

 

build-catalina-core:

[javac] Compiling 302 source files to
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes

[javac]
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr
c\share\org\apache\catalina\Container.java:23: cannot access
javax.servlet.ServletException

[javac] bad class file:
C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv
letException.class)

[javac] class file has wrong version 49.0, should be 48.0

[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.

[javac] import javax.servlet.ServletException;

[javac]  ^

[javac] 1 error

 

Also, I really want to know more about this error and how it is
possible.  Does anyone know what this means?  Ps.  Am I on the wrong
list?  Is this really a problem with the servlet api jar?, but which
project is that and who do I talk to???  

thanks,

dean



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Shapira, Yoav
Hi,
The build file works for me.

Your servlet-api jar was built with JDK 1.5, so you must build the rest
of Tomcat with JDK 1.5.  Alternatively, build servlet-api.jar with JDK
1.4 and build the rest of Tomcat with JDK 1.4 as well.  You get the
general point ;)


Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:00 PM
To: [EMAIL PROTECTED]
Subject: tomcat build broken with strange javac error(never seen this
one
before)

I have never seen an error from javac like this before(and I am by no
means new to java).  I have even read the JLS and am not sure what in
the world this is.  Can anyone point me somewhere on how to resolve
this
issue?  Or possibly point me to a build.xml for tomcat5 that works?
The
one on the website does not work as I get the below.  I am using
1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
version of java are you using?





build-catalina-core:

[javac] Compiling 302 source files to
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes

[javac]
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\s
r
c\share\org\apache\catalina\Container.java:23: cannot access
javax.servlet.ServletException

[javac] bad class file:
C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Ser
v
letException.class)

[javac] class file has wrong version 49.0, should be 48.0

[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.

[javac] import javax.servlet.ServletException;

[javac]  ^

[javac] 1 error



Also, I really want to know more about this error and how it is
possible.  Does anyone know what this means?  Ps.  Am I on the wrong
list?  Is this really a problem with the servlet api jar?, but which
project is that and who do I talk to???

thanks,

dean


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Filip Hanik - Dev
post on tomcat-user in the future, thanks!

these are simple steps

cvs co jakarta-tomcat-5
cd jakarta-tomcat-5
ant update
ant download
ant dist


Filip

- Original Message - 
From: Hiller, Dean D (Dean) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 2:00 PM
Subject: tomcat build broken with strange javac error(never seen this one before)


I have never seen an error from javac like this before(and I am by no
means new to java).  I have even read the JLS and am not sure what in
the world this is.  Can anyone point me somewhere on how to resolve this
issue?  Or possibly point me to a build.xml for tomcat5 that works?  The
one on the website does not work as I get the below.  I am using
1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
version of java are you using?

 

 

build-catalina-core:

[javac] Compiling 302 source files to
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes

[javac]
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr
c\share\org\apache\catalina\Container.java:23: cannot access
javax.servlet.ServletException

[javac] bad class file:
C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv
letException.class)

[javac] class file has wrong version 49.0, should be 48.0

[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.

[javac] import javax.servlet.ServletException;

[javac]  ^

[javac] 1 error

 

Also, I really want to know more about this error and how it is
possible.  Does anyone know what this means?  Ps.  Am I on the wrong
list?  Is this really a problem with the servlet api jar?, but which
project is that and who do I talk to???  

thanks,

dean



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Joshua Paul
Stop sending me e-mail.
- Original Message - 
From: Hiller, Dean D (Dean) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:00 PM
Subject: tomcat build broken with strange javac error(never seen this one
before)


I have never seen an error from javac like this before(and I am by no
means new to java).  I have even read the JLS and am not sure what in
the world this is.  Can anyone point me somewhere on how to resolve this
issue?  Or possibly point me to a build.xml for tomcat5 that works?  The
one on the website does not work as I get the below.  I am using
1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
version of java are you using?





build-catalina-core:

[javac] Compiling 302 source files to
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes

[javac]
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr
c\share\org\apache\catalina\Container.java:23: cannot access
javax.servlet.ServletException

[javac] bad class file:
C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv
letException.class)

[javac] class file has wrong version 49.0, should be 48.0

[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.

[javac] import javax.servlet.ServletException;

[javac]  ^

[javac] 1 error



Also, I really want to know more about this error and how it is
possible.  Does anyone know what this means?  Ps.  Am I on the wrong
list?  Is this really a problem with the servlet api jar?, but which
project is that and who do I talk to???

thanks,

dean




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
Huh, 3 questions about this mail list then.

1. confused by stop sending me mail when this is my first mail to this
list
2. Huh, I thought building would be a developer issue
3. Where should I post future questions on the source code I am looking
at in tomcat???  The users list states it is for configuration issues,
etc.

ps. Thanks shapira for the jdk1.5 note.  That makes sense, duh.  
Thanks,
dean

-Original Message-
From: Joshua Paul [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 1:21 PM
To: Tomcat Developers List
Subject: Re: tomcat build broken with strange javac error(never seen
this one before)

Stop sending me e-mail.
- Original Message - 
From: Hiller, Dean D (Dean) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:00 PM
Subject: tomcat build broken with strange javac error(never seen this
one
before)


I have never seen an error from javac like this before(and I am by no
means new to java).  I have even read the JLS and am not sure what in
the world this is.  Can anyone point me somewhere on how to resolve this
issue?  Or possibly point me to a build.xml for tomcat5 that works?  The
one on the website does not work as I get the below.  I am using
1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
version of java are you using?





build-catalina-core:

[javac] Compiling 302 source files to
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes

[javac]
C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr
c\share\org\apache\catalina\Container.java:23: cannot access
javax.servlet.ServletException

[javac] bad class file:
C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv
letException.class)

[javac] class file has wrong version 49.0, should be 48.0

[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.

[javac] import javax.servlet.ServletException;

[javac]  ^

[javac] 1 error



Also, I really want to know more about this error and how it is
possible.  Does anyone know what this means?  Ps.  Am I on the wrong
list?  Is this really a problem with the servlet api jar?, but which
project is that and who do I talk to???

thanks,

dean




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Mark Thomas
1. Ignore the stop sending me mail message. Someone has managed to get
themselves subscribed to the list and is obviously incapable of following the
simple instructions included in every mail to unsubscribe. One of the list
owners (of which I am one) will sort this out.

2.  3. The right place to posts depends on the question and will always be a
judgement call and different people will make different judgements. I wouldn't
worry about it too much - personally I thought this one was on the border line.

Mark

 -Original Message-
 From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 8:29 PM
 To: Tomcat Developers List
 Subject: RE: tomcat build broken with strange javac 
 error(never seen this one before)
 
 Huh, 3 questions about this mail list then.
 
 1. confused by stop sending me mail when this is my first 
 mail to this
 list
 2. Huh, I thought building would be a developer issue
 3. Where should I post future questions on the source code I 
 am looking
 at in tomcat???  The users list states it is for configuration issues,
 etc.
 
 ps. Thanks shapira for the jdk1.5 note.  That makes sense, duh.  
 Thanks,
 dean
 
 -Original Message-
 From: Joshua Paul [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 1:21 PM
 To: Tomcat Developers List
 Subject: Re: tomcat build broken with strange javac error(never seen
 this one before)
 
 Stop sending me e-mail.
 - Original Message - 
 From: Hiller, Dean D (Dean) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 12, 2004 3:00 PM
 Subject: tomcat build broken with strange javac error(never seen this
 one
 before)
 
 
 I have never seen an error from javac like this before(and I am by no
 means new to java).  I have even read the JLS and am not sure what in
 the world this is.  Can anyone point me somewhere on how to 
 resolve this
 issue?  Or possibly point me to a build.xml for tomcat5 that 
 works?  The
 one on the website does not work as I get the below.  I am using
 1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
 version of java are you using?
 
 
 
 
 
 build-catalina-core:
 
 [javac] Compiling 302 source files to
 C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes
 
 [javac]
 C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c
 atalina\sr
 c\share\org\apache\catalina\Container.java:23: cannot access
 javax.servlet.ServletException
 
 [javac] bad class file:
 C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se
 rvlet/Serv
 letException.class)
 
 [javac] class file has wrong version 49.0, should be 48.0
 
 [javac] Please remove or make sure it appears in the correct
 subdirectory of the classpath.
 
 [javac] import javax.servlet.ServletException;
 
 [javac]  ^
 
 [javac] 1 error
 
 
 
 Also, I really want to know more about this error and how it is
 possible.  Does anyone know what this means?  Ps.  Am I on the wrong
 list?  Is this really a problem with the servlet api jar?, but which
 project is that and who do I talk to???
 
 thanks,
 
 dean
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread William A. Rowe, Jr.
At 02:20 PM 8/12/2004, Joshua Paul wrote:
Stop sending me e-mail.

Don't tell us - you subscribed.  See the email headers in this message,
specifically the List-Unsubscribe: header, and send a blank email to
that address.

When you subscribed, there was another email that told you how to
unsubscribe later, it was the same email address.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
Cool, thanks.
dean

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 2:16 PM
To: 'Tomcat Developers List'
Subject: RE: tomcat build broken with strange javac error(never seen
this one before)

1. Ignore the stop sending me mail message. Someone has managed to get
themselves subscribed to the list and is obviously incapable of
following the
simple instructions included in every mail to unsubscribe. One of the
list
owners (of which I am one) will sort this out.

2.  3. The right place to posts depends on the question and will always
be a
judgement call and different people will make different judgements. I
wouldn't
worry about it too much - personally I thought this one was on the
border line.

Mark

 -Original Message-
 From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 8:29 PM
 To: Tomcat Developers List
 Subject: RE: tomcat build broken with strange javac 
 error(never seen this one before)
 
 Huh, 3 questions about this mail list then.
 
 1. confused by stop sending me mail when this is my first 
 mail to this
 list
 2. Huh, I thought building would be a developer issue
 3. Where should I post future questions on the source code I 
 am looking
 at in tomcat???  The users list states it is for configuration issues,
 etc.
 
 ps. Thanks shapira for the jdk1.5 note.  That makes sense, duh.  
 Thanks,
 dean
 
 -Original Message-
 From: Joshua Paul [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 1:21 PM
 To: Tomcat Developers List
 Subject: Re: tomcat build broken with strange javac error(never seen
 this one before)
 
 Stop sending me e-mail.
 - Original Message - 
 From: Hiller, Dean D (Dean) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 12, 2004 3:00 PM
 Subject: tomcat build broken with strange javac error(never seen this
 one
 before)
 
 
 I have never seen an error from javac like this before(and I am by no
 means new to java).  I have even read the JLS and am not sure what in
 the world this is.  Can anyone point me somewhere on how to 
 resolve this
 issue?  Or possibly point me to a build.xml for tomcat5 that 
 works?  The
 one on the website does not work as I get the below.  I am using
 1.4.2_05.  Does the build.xml file work for anyone else?  If so, what
 version of java are you using?
 
 
 
 
 
 build-catalina-core:
 
 [javac] Compiling 302 source files to
 C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes
 
 [javac]
 C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c
 atalina\sr
 c\share\org\apache\catalina\Container.java:23: cannot access
 javax.servlet.ServletException
 
 [javac] bad class file:
 C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se
 rvlet/Serv
 letException.class)
 
 [javac] class file has wrong version 49.0, should be 48.0
 
 [javac] Please remove or make sure it appears in the correct
 subdirectory of the classpath.
 
 [javac] import javax.servlet.ServletException;
 
 [javac]  ^
 
 [javac] 1 error
 
 
 
 Also, I really want to know more about this error and how it is
 possible.  Does anyone know what this means?  Ps.  Am I on the wrong
 list?  Is this really a problem with the servlet api jar?, but which
 project is that and who do I talk to???
 
 thanks,
 
 dean
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]