You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Joachim Van der Auwera <jo...@progs.be> on 2006/11/13 02:36:23 UTC
strange javassist exception
I am migrating my project to maven, and suddenly get the error below.
Anybody any idea what might be causing this or how to fix?
Much appreciated,
Thanks,
Joachim
2006-11-13 02:08:38,634 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/acta]]
acta: ServletException
javax.servlet.ServletException: Unable to construct service
tapestry.request.CookieSource: Error building service
tapestry.request.CookieSource: Error at
jar:file:/home/joachim/java/jbossexample/server/example/tmp/deploy/tmp33511acta-ear-1.0-SNAPSHOT.ear-contents/lib/tapestry-4.0.2.jar!/META-INF/tapestry.request.xml,
line 62, column 91: Unable to add method int getRemotePort() to class
$HttpServletRequest_10ededbc2c2: [source error] Method getRemotePort not
found in javax.servlet.http.HttpServletRequest
at
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:60)
at
$ServletRequestServicer_10ededbc2a1.service($ServletRequestServicer_10ededbc2a1.java)
at
$ServletRequestServicer_10ededbc2a0.service($ServletRequestServicer_10ededbc2a0.java)
at
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
at
$ServletRequestServicerFilter_10ededbc29d.service($ServletRequestServicerFilter_10ededbc29d.java)
at
$ServletRequestServicerFilter_10ededbc29c.service($ServletRequestServicerFilter_10ededbc29c.java)
at
$ServletRequestServicer_10ededbc2a2.service($ServletRequestServicer_10ededbc2a2.java)
at
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
at
$ServletRequestServicerFilter_10ededbc29b.service($ServletRequestServicerFilter_10ededbc29b.java)
at
$ServletRequestServicerFilter_10ededbc29a.service($ServletRequestServicerFilter_10ededbc29a.java)
at
$ServletRequestServicer_10ededbc2a2.service($ServletRequestServicer_10ededbc2a2.java)
at
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
at
$ServletRequestServicerFilter_10ededbc29f.service($ServletRequestServicerFilter_10ededbc29f.java)
at
$ServletRequestServicerFilter_10ededbc29e.service($ServletRequestServicerFilter_10ededbc29e.java)
at
$ServletRequestServicer_10ededbc2a2.service($ServletRequestServicer_10ededbc2a2.java)
at
$ServletRequestServicer_10ededbc295.service($ServletRequestServicer_10ededbc295.java)
at
$ServletRequestServicer_10ededbc294.service($ServletRequestServicer_10ededbc294.java)
at
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
at
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: strange javassist exception
Posted by Joachim Van der Auwera <jo...@progs.be>.
Ok, Problem fixed. It seems I accidently packaged a copy of
servlet-api.jar in my classpath and this was causing the problems.
Joachim
Joachim Van der Auwera wrote:
> I am migrating my project to maven, and suddenly get the error below.
>
> Anybody any idea what might be causing this or how to fix?
>
> Much appreciated,
> Thanks,
> Joachim
>
>
>
> 2006-11-13 02:08:38,634 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/acta]]
> acta: ServletException
> javax.servlet.ServletException: Unable to construct service
> tapestry.request.CookieSource: Error building service
> tapestry.request.CookieSource: Error at
> jar:file:/home/joachim/java/jbossexample/server/example/tmp/deploy/tmp33511acta-ear-1.0-SNAPSHOT.ear-contents/lib/tapestry-4.0.2.jar!/META-INF/tapestry.request.xml,
> line 62, column 91: Unable to add method int getRemotePort() to class
> $HttpServletRequest_10ededbc2c2: [source error] Method getRemotePort
> not found in javax.servlet.http.HttpServletRequest
> at
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org