riesvantwisk Posted February 22, 2008 Share Posted February 22, 2008 @all, first post here... I am trying to create a report in a remote object using WebORB. When I create a report using JasperExportManager like this : JasperExportManager.exportReportToXmlFile(jasperPrint, "/tmp/Simple_Report.xml",true); I am perfectly beable to generate a report. However when I want to create a XLS using the JRXlsExporter class,then I get a exception directly on this line : JRXlsExporter exporterXLS = new JRXlsExporter(); Unfortunately I cannot figure out the exact exception because from WebORB I get something else back. I use the folloing jar file which I put in my JBoss lib folder. commons-collections-testframework-3.2.jar commons-logging-adapters-1.1.1.jar commons-beanutils-bean-collections.jar commons-digester-1.8.jar commons-logging-api-1.1.1.jar jasperreports-2.0.4.jarcommons-beanutils-core.jar commons-logging-1.1.1-javadoc.jar commons-logging-tests.jarcommons-beanutils.jar commons-logging-1.1.1-sources.jar commons-collections-3.2.jar commons-logging-1.1.1.jar iText-2.0.8.jar I found some where that in JBoss I had to use jasperreports-2.0.4-javaflow.jar, but then I couldn't generate a report at all... do I need to do anything special under JBoss to use the class JRXlsExporter ??? thanks,Ries van Twisk Link to comment Share on other sites More sharing options...
riesvantwisk Posted February 22, 2008 Author Share Posted February 22, 2008 to answer my own question.... I had a invalid combination of jar files downloaded.What I did was downloaded jasperreports-2.0.4.biuld it... took the jar's in the lib directory and the generated jasperreports-2.0.4.jarfile. Now it all works fine. thanks,Ries van Twisk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now