du27177 Posted December 21, 2009 Share Posted December 21, 2009 Hi!I got Java class City:City.java in folder: C:\workspace\Implementation\src\com\ibm\project2\PersistenceCity.class in folder: C:\workspace\Implementation\bin\com\ibm\project2\Persistence In iReport i make FieldClassName: cityBean Field class type: com.ibm.project2.Persistence.City I tried to put many combinations in classpath (add Folder) , but i have error: Compiling to file... C:\workspace\Reporting\src\com\ibm\project2\reports\Test.jasper net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 1. java.lang.ClassNotFoundException: com.ibm.project2.Persistence.City at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:491) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) 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