[ http://jira.codehaus.org/browse/MOJO-301?page=comments#action_59120 ] 

Jeff Genender commented on MOJO-301:
------------------------------------

This probably belongs in a FAQ...

You need to add your tools.jar to your dependencies if you are Linux or 
Windows, or you need to add classes.jar if you are on the Mac.  Add something 
like this to your POM:

<dependency>
    <groupId>sun.jdk</groupId>
    <artifactId>tools</artifactId>
    <!-- This is your version of Java -->
    <version>1.4.2</version>
    <!-- This is the path to your jar file -->
    <systemPath>C:/j2sdk1.4.2_09/lib/tools.jar</systemPath>
    <scope>system</scope>
</dependency>

or if you are on a Mac add something like this:

<dependency>
    <groupId>sun.jdk</groupId>
    <artifactId>tools</artifactId>
    <!-- This is your version of Java -->
    <version>1.4.2</version>
    <!-- This is the path to your jar file -->
    
<systemPath>/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar</systemPath>
    <scope>system</scope>
</dependency>

> jspc-maven-plugin doesn't seem to work at all
> ---------------------------------------------
>
>          Key: MOJO-301
>          URL: http://jira.codehaus.org/browse/MOJO-301
>      Project: Mojo
>         Type: Bug

>     Reporter: Oliver Siegmar

>
>
> Sorry for that stupid summarization - I don't know how to summarize this 
> problem.
> When calling 'mvn package' I see this on my shell:
> [INFO] jspc args: [-uriroot, /XXX/src/main/webapp, -d, 
> /XXX/target/jsp-source, -s, -l, -webinc, /XXX/target/web-fragment.xml, -p, 
> jsp]
> org.apache.jasper.JasperException: The absolute uri: 
> http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the 
> jar files deployed with this application
> My fault?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to