SJ wrote:
> > 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.

I've used the appfuse 1.9.4 (since 1.9 you can deploy without server
configuration).

This is my jar (my war file):
jar -tf scc.war
WEB-INF/classes/views.properties
WEB-INF/applicationContext-hibernate.xml
WEB-INF/applicationContext-service.xml
WEB-INF/lib/
WEB-INF/lib/scc-dao.jar
WEB-INF/lib/scc-service.jar
WEB-INF/validator-rules.xml
WEB-INF/lib/clickstream-1.0.2.jar
WEB-INF/lib/antlr.jar
WEB-INF/lib/commons-beanutils.jar
WEB-INF/lib/commons-collections.jar
WEB-INF/lib/commons-digester.jar
WEB-INF/lib/commons-fileupload.jar
WEB-INF/lib/commons-lang.jar
WEB-INF/lib/commons-logging.jar
WEB-INF/lib/commons-validator.jar
WEB-INF/lib/jakarta-oro.jar
WEB-INF/lib/jstl.jar
WEB-INF/lib/standard.jar
WEB-INF/lib/activation.jar
WEB-INF/lib/mail.jar
WEB-INF/lib/log4j-1.2.11.jar
WEB-INF/lib/struts-menu-2.3.jar
WEB-INF/lib/postgresql-jdbc3-8.0-312.jar
WEB-INF/lib/displaytag-1.0.jar
WEB-INF/lib/hibernate3.jar
WEB-INF/lib/antlr-2.7.5H3.jar
WEB-INF/lib/asm.jar
WEB-INF/lib/c3p0-0.9.0.2.jar
WEB-INF/lib/cglib-2.1.jar
WEB-INF/lib/dom4j-1.6.jar
WEB-INF/lib/jta.jar
WEB-INF/lib/oscache-2.2.jar
WEB-INF/lib/swarmcache-1.0rc2.jar
WEB-INF/lib/acegi-security-1.0.0-RC1.jar
WEB-INF/lib/commons-codec-1.3.jar
WEB-INF/lib/ehcache-1.1.jar
WEB-INF/lib/spring.jar
WEB-INF/lib/springmodules-validator-dev-20051217.jar
WEB-INF/lib/commons-fileupload.jar
WEB-INF/lib/taglibs-request.jar
WEB-INF/lib/sitemesh-2.2.1.jar
WEB-INF/lib/velocity-1.4.jar
WEB-INF/lib/velocity-tools-view-1.1.jar
WEB-INF/lib/urlrewrite-2.5.1.jar
WEB-INF/lib/jasperreports-1.2.0.jar
WEB-INF/lib/jdt-compiler-3.1.1.jar
WEB-INF/lib/jr-bsh-compiler.jar
WEB-INF/lib/poi-2.5.1.jar
WEB-INF/lib/itext-1.1.4.jar
WEB-INF/lib/bsh-2.0b2.jar
WEB-INF/web.xml

Right now it is on oracle ias 10g, but before it was in jboss.

Gilberto

> > 
> > 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#a10664025
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to