You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kashif Inam <ka...@gmail.com> on 2005/09/29 08:46:05 UTC

common-digester.jar conflict when usings Struts with Jasper Reports

Hi


I am working on a web application with Struts and Jasper Reports.
Jasper Reports requires common-digester.1.7.jar ( that is a latest version of 
struts's common-digester.jar), when i use this file, i get the following  
exceptions 

javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans 
collection	at org.apache.struts.taglib.html.FormTag.lookup
(FormTag.java:798)	at org.apache.struts.taglib.html.FormTag.doStartTag
(FormTag.java:506)	at _index._jspService(_index.java:53)	


If i use common-digester.jar (struts version, older one)..then my Jasper 
Reports throws following exception..


java.lang.NoClassDefFoundError: 
org/apache/commons/digester/SetNestedPropertiesRule	at 
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:200)	at 
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)	at 
net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)	at 
com.netsol.pms.reports.ReportManager.buildReport(ReportManager.java:210)
	at com.netsol.pms.reports.ReportManager.getPreview
(ReportManager.java:184)

Please suggest me how can i resolve this conflict..

thanks & Regards
Kashif Inam




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: common-digester.jar conflict when usings Struts with Jasper Reports

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
I have no problem using Commons Digester 1.7 with the latest version of
Struts (1.2.7).

Looks to me like there is another reason why its not working - check you're
logs.

Niall

----- Original Message ----- 
From: "Kashif Inam" <ka...@gmail.com>
Sent: Thursday, September 29, 2005 7:46 AM


> I am working on a web application with Struts and Jasper Reports.
> Jasper Reports requires common-digester.1.7.jar ( that is a latest version
of
> struts's common-digester.jar), when i use this file, i get the following
> exceptions
>
> javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans
> collection at org.apache.struts.taglib.html.FormTag.lookup
> (FormTag.java:798) at org.apache.struts.taglib.html.FormTag.doStartTag
> (FormTag.java:506) at _index._jspService(_index.java:53)
>
>
> If i use common-digester.jar (struts version, older one)..then my Jasper
> Reports throws following exception..
>
>
> java.lang.NoClassDefFoundError:
> org/apache/commons/digester/SetNestedPropertiesRule at
> net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:200) at
> net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165) at
> net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149) at
> com.netsol.pms.reports.ReportManager.buildReport(ReportManager.java:210)
> at com.netsol.pms.reports.ReportManager.getPreview
> (ReportManager.java:184)
>
> Please suggest me how can i resolve this conflict..



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org