I have followed the tutorial http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseJasperReports to use jasper reports with Spring. My application works fine in tomcat. But when it is deployed in Weblogic 8.1 SP5, I receive the following error message when Spring is loaded.
I know JRComplier looks for classpath (other than system.class.path) which is set in our program that has references to Jasper Librararies. I did the same when I used jasper reports with simple web application using servlet MVC. But in Spring how can give the classpath variable. I have copied the jasper report libraries to weblogic common and server libraries, but there is no use. Please let me know the fix. ERROR main org.springframework.web.servlet.DispatcherServlet - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userMultiFormatReport' defined in ServletContext resource [/WEB-INF/action-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.context.ApplicationContextException: Could not parse JasperReports report for URL [/WEB-INF/reports/userList.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: C:\bea\user_projects\domains\coib\userList_1179183407849_59279.java:4: package net.sf.jasperreports.engine does not exist import net.sf.jasperreports.engine.*; -- View this message in context: http://www.nabble.com/Appfuse-Spring-Jasper-dynamic-compilication-of-JRXML-file-is-failing-in-Weblogic-8.1-SP5-tf3760256s2369.html#a10628448 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
