frankieta Posted April 21, 2009 Share Posted April 21, 2009 Hi, I've got this problem. I want to use my java classes to set up a java bean connection for my report.I followed all the instructions (made the jar and put in the lib folder, set the classpath accordingly) but when i try to test the connection it gives me a NoClassDefFoundError referred to another class, not the class that actually contains the static method that returns the collection of beans, but a class whos name is present in the signature of the method generateBeanCollection.The static method cannot take other istances of classes as parameters??I tried to set the classpath for that class too, but it always get me the same error...Any ideas? Code:public static java.util.Collection generateCollection(String sql,MySQLManager db) Link to comment Share on other sites More sharing options...
frankieta Posted April 21, 2009 Author Share Posted April 21, 2009 I'm Sorry, I found out that I already put the same question in the Ireport forum yesterday, I thought it was not publishes cos of connection issues. It was. So sorry again for this crossposting, maybe you'll want to close the thread.. Hi 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