You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hunter Hillegas <li...@lastonepicked.com> on 2001/10/01 21:15:12 UTC
Tag Problems when Compiling Against New Servlet.jar
I just started compiling my servlet/taglibs against the servlet.jar included
with Tomcat 4.
Now my taglibs are spouting a TON of errors when they used to cleanly
compile... Some are like this:
classes/com/guerrillabroadcasting/groundswell/tags/IterateTag.java:22:
cannot resolve symbol
symbol : variable SKIP_BODY
location: class com.guerrillabroadcasting.groundswell.tags.IterateTag
return SKIP_BODY;
-- and --
classes/com/guerrillabroadcasting/groundswell/tags/IterateTag.java:25:
cannot resolve symbol
symbol : variable pageContext
location: class com.guerrillabroadcasting.groundswell.tags.IterateTag
pageContext.setAttribute(name, iterator.next());
Plus lots more...
A quick look at the spec and I don't think all these things have changed...
What's going on here?
Hunter
Re: Tag Problems when Compiling Against New Servlet.jar
Posted by "Craig R. McClanahan" <cr...@apache.org>.
These are exactly the errors you would get if you didn't have servlet.jar
in your compile classpath at all -- double check your CLASSPATH to ensure
that you're pointing at the right place.
Craig
On Mon, 1 Oct 2001, Hunter Hillegas wrote:
> Date: Mon, 01 Oct 2001 12:15:12 -0700
> From: Hunter Hillegas <li...@lastonepicked.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: Tomcat User List <to...@jakarta.apache.org>
> Subject: Tag Problems when Compiling Against New Servlet.jar
>
> I just started compiling my servlet/taglibs against the servlet.jar included
> with Tomcat 4.
>
> Now my taglibs are spouting a TON of errors when they used to cleanly
> compile... Some are like this:
>
> classes/com/guerrillabroadcasting/groundswell/tags/IterateTag.java:22:
> cannot resolve symbol
> symbol : variable SKIP_BODY
> location: class com.guerrillabroadcasting.groundswell.tags.IterateTag
> return SKIP_BODY;
>
>
> -- and --
>
> classes/com/guerrillabroadcasting/groundswell/tags/IterateTag.java:25:
> cannot resolve symbol
> symbol : variable pageContext
> location: class com.guerrillabroadcasting.groundswell.tags.IterateTag
> pageContext.setAttribute(name, iterator.next());
>
> Plus lots more...
>
> A quick look at the spec and I don't think all these things have changed...
> What's going on here?
>
> Hunter
>
>