You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tim Funk <fu...@joedog.org> on 2005/09/21 13:31:08 UTC

precompile failure for jsr152 examples

With the new tag plugins patch, precompiling the jsp examples fails.

The root cause seems to be jsr152/examples/WEB-INF/tagPlugins.xml has the old 
classes.

When I removed the file - everything compiled fine.
When I updated jsr152/examples/WEB-INF/tagPlugins.xml with the tagPlugins.xml 
from 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/tagplugins/jstl/tagPlugins.xml 
I get weird compile errors:

/home/funkman/src/TOMCAT5/buildtc5/jakarta-tomcat-5/build.xml:832: The 
following error occurred while executing this line:
/home/funkman/src/TOMCAT5/buildtc5/jakarta-tomcat-5/build.xml:426: 
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
pageContext cannot be resolved

I guess at a minimum, jsr152/examples/WEB-INF/tagPlugins.xml needs fixed by 
removing it or fixing it with the correct classes but I think that requires 
someone with jsr152 karma.

I didn't have time to look into the cause of
Generated servlet error:
pageContext cannot be resolved

Thoughts?

-Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: precompile failure for jsr152 examples

Posted by Remy Maucherat <re...@apache.org>.
Tim Funk wrote:
> With the new tag plugins patch, precompiling the jsp examples fails.
> 
> The root cause seems to be jsr152/examples/WEB-INF/tagPlugins.xml has 
> the old classes.
> 
> When I removed the file - everything compiled fine.
> When I updated jsr152/examples/WEB-INF/tagPlugins.xml with the 
> tagPlugins.xml from 
> jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/tagplugins/jstl/tagPlugins.xml 
> I get weird compile errors:
> 
> /home/funkman/src/TOMCAT5/buildtc5/jakarta-tomcat-5/build.xml:832: The 
> following error occurred while executing this line:
> /home/funkman/src/TOMCAT5/buildtc5/jakarta-tomcat-5/build.xml:426: 
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> Generated servlet error:
> pageContext cannot be resolved
> 
> I guess at a minimum, jsr152/examples/WEB-INF/tagPlugins.xml needs fixed 
> by removing it or fixing it with the correct classes but I think that 
> requires someone with jsr152 karma.
> 
> I didn't have time to look into the cause of
> Generated servlet error:
> pageContext cannot be resolved
> 
> Thoughts?

I can't fix it, I don't have karma either. I agree that the best is for 
now to remove the file. Worst case if nobody has karma, we can exclude 
the file when building.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org