Hi

I'm using the jspc-maven-plugin to precompile my JSPs. I'm having problems
getting it to detect a custom tag library that is being compiled together
with the webapp. Simplified project layout:

webapp - parent dir
webapp/webapp-classes - contains the taglib classes and tld
webapp/webapp-war - contains the jsp, web.xml and so on

If I build the project from the parent directory it fails with the following
message:

org.apache.jasper.JasperException: The absolute uri:
http://dev.jotta.no/tags-browser cannot be resolved in either web.xml or the
jar files deployed with this application

If I however first build the webapp-classes project and then the webapp-war
project it works fine. I've tried versions 2.0-alpha-3-SNAPSHOT,
2.0-alpha-2-SNAPSHOT and 1.4.6; they all give the same result. Also tried
both Windows and Linux (running Java 6 on both).

Is this a known issue? Does the plugin require the taglibs used to be in
another project that is not part of the same build, or is there a
workaround?

Any help is greatly appreciated!

Trygve

Reply via email to