6sic6 Posted November 28, 2006 Share Posted November 28, 2006 HelloI've created a "Javabean set datasource"my class (CreateBeanList.class) contains a method createList that return a List of javabeans of PrimoBean.classIf I "test" it all works well.Now I want to create a "New report" with the wizardI select the connection and it ask me the "JavaBean class"If I try to put "PrimoBean" and I click to next..the next-button goes disabled and the ireport's console say me Code:Can't find the translation for key = pathToFonts: using default (Fonts path)java.awt.Dimension[width=86,height=24]Can't find the translation for key = pathToFonts: using default (Fonts path)Can't find the translation for key = setHeader: using default (Get columndescriptions from datasource)Exception in thread "Thread-5" java.lang.NoClassDefFoundError: PrimoBean (wrongname: it/xxx/omc/action/report/PrimoBean) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at it.businesslogic.ireport.gui.WizardDialog.readFields(WizardDialog.java:2192) at it.businesslogic.ireport.gui.WizardDialog.run(WizardDialog.java:1410) at java.lang.Thread.run(Unknown Source) I set the classpath correctly.. when I create my connection I don't have problem..someone can help me?thanks a lotmartinaPost edited by: 6sic6, at: 2006/11/28 11:04 Link to comment Share on other sites More sharing options...
bcoppens Posted February 14, 2007 Share Posted February 14, 2007 Hi Martina,I have the same problem. Did you find a solution?Thanks,Benoit 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