maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Jsp precompile
Date Mon, 03 Mar 2008 13:12:28 GMT

Trying to precompile Jsp's but can't get it to work.

I tried the plugins:

Maven jspc plugin:

Maven Jetty Jspc Plugin:

However, both don't work for me.
Maven jspc says:
Embedded error: The -uriroot option must specify a pre-existing directory

Jetty jspc says:
[INFO] : org.apache.jasper.JasperException: PWC6149: The -uriroot option must specify a pre-existing
Failure processing jsps

No idea what this means! :-( (-X or -e didn't tell me much more either)
My project layout isn't using the default, as it's a legacy project.

The jspc plugin seems to be searching for the web.xml.
The default seems to be target/web.xml, in my case its under target/MY_WAR_FILE_NAME/WEB-INF/web.xml.

I tried to configure the maven war plugin accordingly:

However, this didn't help either. Maybe I looking in the wrong direction??
No idea, both jspc documentations are VERY short. Other people seemed to have similar problems
saying "The -uriroot option must specify a pre-existing directory" - but I couldn't find any
solution to this problem on the web.

Maybe you can help out?

Thanks in advance,


Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message