Hi committers!
This class cast exception is a major issue! Tapestry will usually not run on
any application server (I tested Glassfish and Websphere CE 2) because the
appservers will use their own implementation of Stax.
The main problem is in
org.apache.tapestry5.internal.services.TemplateParse
Hi Sige!
The problem is that Tapestry uses some special extensions to StaX in the
template parser. Therefore Tapestry casts the XMLInputFactory to the
Woodstox implementation and fails.
Workaround:
1. add a system parameter
-Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
I have this same issue when I try to redeploy my app in Tomcat 6. If you try
to redeploy a war file in Tomcat without restarting the server this
exception occurs. It is really annoying to restart each time I deploy.
Anyone found a workaround for this?
Zack
Thiago H. de Paula Figueiredo wrote:
On Wed, May 27, 2009 at 11:25 PM, sige wrote:
> Hi
Hi!
Your problem looks like mismatched dependencies. Make sure you only
have 5.1.0.5 Tapestry JARs in your classpath.
--
Thiago
-
To unsubscribe, e-mail: users-unsubscr...@t