You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Ford <mi...@wfiinc.com> on 2001/04/05 19:08:53 UTC

Compiling tomcat from source: Error listing.

I am installing tomcat from source.  I have painstakingly followed all
of the directions to do so, and have made modifications to build.xml
where necessary.  After a long struggle, I have reduced my problem to
the following:

********************

Buildfile: build.xml

prepare:

tomcat:
    [javac] Compiling 5 source files to
/usr/local/src/build/tomcat/classes
    [javac]
/usr/local/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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/src/jakarta-tomcat-3.2.1-src/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: 7 seconds

********************

At this point, I am getting to my wit's end.  Every step of the install
has had some small little detail that needed tending to, and I've
finally reached this point, where it appears that I've done everything I
can do to get past this and still don't have all my ducks in a row.  If
anyone can help me, I would greatly appreciate it.

-- 
Mike Ford
Web Developer, WorkFlow Integrators, Inc.
mike@wfiinc.com
www.wfiinc.com