Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 8th, 2001, 08:30 PM
davpat00 davpat00 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 0 davpat00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Problems with a linux tomcat build.

I'm installing a tomcat container from source on redhat 7.

I installed Sun JDK 1.3.1.
I installed the XML Parser and ANT. (Ant built with no errors.)
I installed the SSL extension classes.
I built and installed the servlet API. (Again, no errors.)

The jdk/bin is in $PATH

When I come to run the build.sh for tomcat I get the following
result:Searching for build.xml ...
Buildfile: /usr/local/etc/jakarta/jakarta-tomcat/build.xml

prepare:
tomcat:
[javac] Compiling 5 source files to /usr/local/etc/jakarta/build/tomcat/classes
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspCompiler.java:136:
Method getClassName(java.lang.String) not found in class
org.apache.jasper.compiler.ClassName.
[javac] realClassName = ClassName.getClassName(
getClassFileName() );
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspCompiler.java:137:
Exception org.apache.jasper.JasperException is never thrown in the
body of the corresponding try statement.
[javac] } catch( JasperException ex) {
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java:867:
Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new
ForwardGenerator(start, attrs, param),
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java:877:
Wrong number of arguments in constructor.
[javac] = new GeneratorWrapper(new
IncludeGenerator(start, attrs, param),
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/JspC.java:367:
Method compile() not found in class
org.apache.jasper.compiler.CommandLineCompiler.
[javac] clc.compile();
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/servlet/JspServlet.java:462:
Method compile() not found in class
org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/servlet/JspServlet.java:467:
Method compile() not found in class
org.apache.jasper.compiler.Compiler. [javac]
outDated = compiler.compile();
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/servlet/JspServlet.java:471:
Exception java.io.FileNotFoundException is never thrown in the body of
the corresponding try statement.
[javac] } catch (FileNotFoundException ex) {
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/servlet/JspServlet.java:473:
Exception org.apache.jasper.JasperException is never thrown in the
body of the corresponding try statement.
[javac] } catch (JasperException ex) {
[javac] ^
[javac] /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/tomcat/request/JspInterceptor.java:205:
Method compile() not found in class
org.apache.jasper.compiler.Compiler.
[javac] compiler.compile();
[javac] ^
[javac] Note: /usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/tomcat/request/JspInterceptor.java
uses or overrides a deprecated API. Recompile with "-deprecation" for
details.
[javac] 10 errors, 1 warning

Total time: 4 seconds

Any guess what I screwed up this time?

A google search threw up 3 other people who had the same problem but
no answer



TIA

Dave P.

Reply With Quote
  #2  
Old July 9th, 2001, 06:01 PM
davpat00 davpat00 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 0 davpat00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem solved.

It looks like the problem was the ANT jar. It wasn't in my classpath.

Dave P.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Problems with a linux tomcat build.

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap