kenny-hybris / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Build errors with tomcat-servlet-3.0-api #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to compile current trunk on Fedora rawhide with 
tomcat-servlet-3.0-api-7.0.28 I get:

ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile 
(default-testCompile) on project urlrewritefilter: Compilation failure: 
Compilation failure:
[ERROR] 
/builddir/build/BUILD/urlrewritefilter-4.0.3/src/test/java/org/tuckey/web/filter
s/urlrewrite/test/UrlRewriteTestCase.java:[163,0] error: MockRequest is not 
abstract and does not override abstract method getPart(String) in 
HttpServletRequest
[ERROR] 
/builddir/build/BUILD/urlrewritefilter-4.0.3/src/test/java/org/tuckey/web/testhe
lper/MockResponse.java:[53,7] error: MockResponse is not abstract and does not 
override abstract method getHeaderNames() in HttpServletResponse
[ERROR] 
/builddir/build/BUILD/urlrewritefilter-4.0.3/src/test/java/org/tuckey/web/testhe
lper/MockRequest.java:[57,7] error: MockRequest is not abstract and does not 
override abstract method getPart(String) in HttpServletRequest
[ERROR] 
/builddir/build/BUILD/urlrewritefilter-4.0.3/src/test/java/org/tuckey/web/testhe
lper/MockServletContext.java:[55,7] error: MockServletContext is not abstract 
and does not override abstract method getJspConfigDescriptor() in ServletContext
[ERROR] 
/builddir/build/BUILD/urlrewritefilter-4.0.3/src/test/java/org/tuckey/web/filter
s/urlrewrite/test/UrlRewriteTestCase.java:[539,0] error: MockResponse is not 
abstract and does not override abstract method getHeaderNames() in 
HttpServletResponse

Original issue reported on code.google.com by or...@nwra.com on 13 Jul 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Hi,

It is designed to work with Servlet API 2.4.  The pom has a dependency on 
Servlet API 2.4.

Are you building using Maven?

Original comment by p...@tuckey.org on 31 Jul 2012 at 3:39

GoogleCodeExporter commented 9 years ago
Java packages in Fedora need to be built from source against the current 
version of all libraries in that release, that is why I would need to build 
against tomcat-servlet-3.0-api-7.0.28.

Original comment by or...@nwra.com on 1 Aug 2012 at 5:36