2004 IR Help Posted August 23, 2006 Share Posted August 23, 2006 By: srinivas - srini_maduri Exception on Unix machine With Jasper reports 2005-09-11 23:18 Hi all Iam using the following code to generate the jasper reports in Excel format.. I developed them using JDeveloper on windows machine which is working fine. When Iam trying to deploy the same on Unix machine, it is throwing the following Exception. java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRVerticalFiller not even there is no nested exception. System.setProperty( "jasper.reports.compile.class.path", context.getRealPath("/WEB-INF/lib/jasperreports-0.6.1.jar") + System.getProperty("path.separator")); + context.getRealPath("/WEB-INF/classes/")); File reportFile = new File( getServletContext().getRealPath( "/myreport/" + fileName + ".jasper")); JasperReport jasperReport = (JasperReport) JRLoader.loadObject(reportFile.getPath()); Pls suggest me a good solution regards srinivas.M 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