Hi,

I have been trying to get the jspc-maven-plugin to work. Here is the
relivent part of my pom.

<plugin>
     <groupId>org.codehaus.mojo</groupId>
     <artifactId>jspc-maven-plugin</artifactId>
          <configuration>
               <source>1.5</source>
               <target>1.5</target>
          </configuration>
          <executions>
               <execution>
                    <id>jspc</id>
                    <phase>compile</phase>
                     <goals>
                          <goal>compile</goal>
                      </goals>
                 </execution>
           </executions>
</plugin>

and the output when I try to mvn compile

[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Maven Quick Start Archetype
[INFO]    task-segment: [compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [jspc:compile {execution: jspc}]
[INFO] Built File: \index.jsp
[INFO] Built File: \WEB-INF\jsp\admin.jsp
[INFO] Built File: \WEB-INF\jsp\category.jsp
[INFO] Compiling new java files...
[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[14,65]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[15,40]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[19,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[20,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[21,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[22,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[23,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[24,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[25,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[26,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[27,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[7,62]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[8,40]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[12,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\admin_jsp.java:[10,62]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\admin_jsp.java:[11,40]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[34,88]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[34,54]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[35,91]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[35,57]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[36,91]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[36,57]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[37,95]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[37,61]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[38,105]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[38,71]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[39,98]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[39,64]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[40,96]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[40,62]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[41,89]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[41,55]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[42,99]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.WEB_002dINF.jsp.category_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[42,65]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[66,18]
incompatible types
found   : jsp.WEB_002dINF.jsp.category_jsp
required: java.lang.Object

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[74,32]
getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean)
in javax.servlet.jsp.JspFactory cannot be applied to
(jsp.WEB_002dINF.jsp.category_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[257,76]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[352,76]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[370,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[388,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[406,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[424,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[453,78]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[491,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[509,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[527,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[556,78]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[594,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[612,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[630,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[659,78]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[697,74]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[746,76]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[19,101]
cannot find symbol
symbol  : method getServletConfig()
location: class jsp.index_jsp

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[19,67]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[35,18]
incompatible types
found   : jsp.index_jsp
required: java.lang.Object

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\index_jsp.java:[43,32]
getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean)
in javax.servlet.jsp.JspFactory cannot be applied to
(jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\admin_jsp.java:[28,18]
incompatible types
found   : jsp.WEB_002dINF.jsp.admin_jsp
required: java.lang.Object

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\admin_jsp.java:[36,32]
getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean)
in javax.servlet.jsp.JspFactory cannot be applied to
(jsp.WEB_002dINF.jsp.admin_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Errors found during compilation.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Sep 01 13:52:38 BST 2006
[INFO] Final Memory: 6M/18M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to