tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol Bonnín <fiol.bon...@terra.es>
Subject Re: CVS snapchot compile problems
Date Tue, 17 Jun 2003 11:06:04 GMT
Sorry I am replying tomy own post.

Problem solved:
- I was using not JDK 1.4, but an older version.
- I had set the base.home property to a relative path, where it should 
be an absolute one, or at least, not as relative as mine...

Sorry again.


Antonio Fiol



Antonio Fiol Bonnín wrote:

> Hello,
>
> I have just followed the instructions on 
> http://jakarta.apache.org/tomcat/building.html and I get the following:
>
> [... (successful) beginning of build and some blank lines removed ...]
> build-servletapi:
>     [echo] ========== Building: 
> ./binaries/servlet-api-2.4/lib/servlet-api.jar
> prepare:
> static:
> compile:
> examples:
> javadoc:
> jar:
>     [copy] Copying 1 file to 
> /home/fiol/tomcat-build/jakarta-servletapi-5/jsr15
> 4/build
>      [jar] Building jar: 
> /home/fiol/tomcat-build/jakarta-servletapi-5/jsr154/bi
> naries/servlet-api-2.4/lib/servlet-api.jar
> dist:
> [... I understand that servlet API has been built correctly, then 
> jarred, so it's OK ...]
> [... however ...]
> build-jspapi:
>     [echo] ========== Building: ./binaries/jsp-api-2.0/lib/jsp-api.jar
> prepare:
> static:
> compile:
>    [javac] Compiling 42 source files to 
> /home/fiol/tomcat-build/jakarta-servlet
> api-5/jsr152/build/classes
>    [javac] 
> /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/
> servlet/jsp/JspFactory.java:58: cannot resolve symbol
>    [javac] symbol  : class Servlet    [javac] location: package servlet
>    [javac] import javax.servlet.Servlet;
>    [javac]                      ^
>    [javac] 
> /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/
> servlet/jsp/JspFactory.java:59: cannot resolve symbol
>    [javac] symbol  : class ServletRequest    [javac] location: package 
> servlet
>    [javac] import javax.servlet.ServletRequest;
>    [javac]                      ^
>    [javac] 
> /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/
> servlet/jsp/JspFactory.java:60: cannot resolve symbol
>    [javac] symbol  : class ServletResponse    [javac] location: 
> package servlet
>    [javac] import javax.servlet.ServletResponse;
>    [javac]                      ^
> [... and some more errors: it seems it is not finding the servlet API 
> ...]
>
> Any clues?
>
> I am not quite familiar with ANT so I don't know how I can force the 
> JSR152 compile to include servlet-api.jar in its classpath. Would 
> anyway this be the solution? I suppose if it was, someone would have 
> spotted it before...
>
> Antonio Fiol
>
>


Mime
View raw message