Solution: replace dom4j-full.jar with dom4j.jar.

At 21:46 14.03.02 -0800, I wrote:
>I'm developing a web application in Tomcat. I would like to use
>dom4j with the Jakarta Project's Struts webapp framework. But
>whenever I have dom4j-full.jar in the webapp's WEB-INF/lib and then
>try to access a JSP page with Struts' <html:form> tag, I get the
>following exception:
>javax.servlet.jsp.JspException: Cannot find ActionMappings or 
>ActionFormBeans collection
>         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:773)
>         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
>         at org.apache.jsp.StormPage$jsp._jspService(StormPage$jsp.java:195)
>         at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
>         at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>...
>
>The moment I remove the dom4j JAR, the problem goes away.
>
>It appears the error arises when Struts tries to parse its configuration
>file, WEB-INF/struts-config.xml. The presence of an outside XML parser
>seemingly confuses it.
>
>Any way that Struts and dom4j can all just get along?
>
>
>_______________________________________________
>dom4j-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/dom4j-user


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to