Press enter to see results or esc to cancel.

java.lang.ClassNotFoundException: com.mysql.jdbc:Driver [Solved]

The Exception in Java Project is shown below. java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at Simple.MyProg.main(MyProg.java:15) Solution, Download the Mysql Jar from below link. http://chillyfacts.com/mysql-connector-jar-download/ Add the jar to Classpath. Check the below link to add the Jar in …

Continue reading

JSF Resource Bundle messages.properties file location in NetBeans IDE

How to Create message.properties file in JSF Project in NetBeans The message.properties file holds the custom messages which is further configured in faces-config.xml in JSF Project. It is created in Class path of java. To create the file, Go to New > File > Other (Categories) > File Types (Properties File) Give the Filename as …

Continue reading