struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: struts and jasperreports
Date Fri, 02 May 2008 19:48:43 GMT
That sounds like a classpath issue; have you added any jars into any of 
Tomcat's shared library folders? I'm also suspicious of your inclusion 
of freemarker-2.3.8.jar and freemarker.jar, ognl-2.6.11.jar and 
ognl.jar; I haven't checked, but I suspect that's not normal :=)

L.

David Evans wrote:
> Hello all,
> 
> I am trying to configure Struts 2 and Jasper Reports. 
> I am getting a:
> java.lang.NoClassDefFoundError:net/sf/jasperreports/engine/JasperCompileManager
> 
> As you can see in my setup below, I have the jasperreports-2.0.5.jar in
> WEB-INF/lib and a jar tvf verifies that that JasperCompileManager is in
> that jar.
> 
> Once I have received this error, tomcat begins to continually (every 10
> seconds) restart my app, or at least to reread the config file:
> 2008/05/02 13:31:53 [ INFO] (XmlConfigurationProvider.java:140) -
> Parsing configuration file [struts-default.xml]
> 2008/05/02 13:32:04 [ INFO] (XmlConfigurationProvider.java:140) -
> Parsing configuration file [struts-default.xml]
> 
> 
> Does anyone have any ideas what could be the problem?
> 
> Thanks
> 
> Dave
> 
> My setup:
> apache-tomcat-5.5.17
> struts2 2.0.11
> jasperreports 2.0.5
> 
> in my WEB-INF/lib:
> cglib-nodep.jar
> commons-attributes-api.jar
> commons-digester-1.7.jar*
> commons-logging.jar
> freemarker-2.3.8.jar
> freemarker.jar
> ibatis-common-2.jar
> ibatis-dao-2.jar
> ibatis-sqlmap-2.jar
> itext-1.3.1.jar*
> jasperreports-2.0.5.jar*
> javamail.jar
> jdt-compiler-3.1.1.jar*
> jstl.jar
> log4j-1.2.8.jar
> ognl-2.6.11.jar
> ognl.jar
> oscore.jar
> rife-continuations.jar
> spring-aop.jar
> spring-beans.jar
> spring-context.jar
> spring-core.jar
> spring-mock.jar
> spring-web.jar
> standard.jar
> struts2-core-2.0.11.1.jar
> struts2-jasperreports-plugin-2.0.11.1.jar
> xwork-2.0.4.jar


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


Mime
View raw message