2005 IR Help Posted August 23, 2006 Share Posted August 23, 2006 By: philip - hkphilip Data Source Sample 2004-03-12 02:26 When i try to run the datasource sample, is the first step to compile the xml by "java DataSourceApp -Tcompile -FDataSourceReport.xml" ? After the DataSourceReport.java is generated, when it is trying to be compiled through compileMethod.invoke(javac, new Object[] {source}) at dori.jasper.engine.design.JRJdk12Compiler.compileClass, it prompt the following error: dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file: c:program files...DataSourceReport.java:5: Package dori.jasper.engine.fill not found in import. import dori.jasper.engine.fill.*; ^ 1 error I believe i have input correct classpath by displaying values in the coding of dori.jasper.engine.design.JRJdk12Compiler.compileClass String[] source = new String[3]; source[0] = sourceFile.getPath(); source[1] = "-classpath"; source[2] = classpath; Do u have any idea what the problem i hit? Thanks. By: philip - hkphilip RE: Data Source Sample 2004-03-12 20:00 solved 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