ktrinad Posted August 30, 2006 Share Posted August 30, 2006 By: acajax - liufenghuixue ClassNotFoundError:org.gjt.mm.mysql.Driver 2003-05-17 01:18 In the connection,I typed the content: Name :mysql202 JDBC Driver: org.gjt.mm.mysql.Driver JDBC URL: jdbc:mysql://192.168.0.168:3306 Database: accounts User name: sa Password Test: ClassNotFoundError: orgl.gjt.mm.mysql.Driver Check your classpath! java.lang.ClassNotFoundException:org.gjt.mm.myql.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:198) ...... But I have put the mysql-conector-java-3.0.7-stable-bin.jar it my classpath. The second Question: The PDF format can't display the Chinese characters correctly.(Font name:Fangsong_gb2312 PDF Font name: Helvetica-Oblique Pdf encoding: Cp1252) By: Giulio Toffoli - gt78 RE: ClassNotFoundError:org.gjt.mm.mysql.Driver 2003-05-17 03:39 Check your classpath. To be sure that your jar is found, put it into the lib directory of iReport. If you want use an external TTF font, set PDFFontName to ExternalTTFFont, select the TTF font from the TTF fonts combo box and try to select a chinese pdf encoding from the list. Let me know. Giulio 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