The archive: which is referenced by the classpath, does not exist.

In this video I have shown how you can solve the error like the one shown below, The archive: C:/Users/MIRITPC/Desktop/New folder (5)/New folder/mysql-connector-java-5.0.0-beta-bin.jar which is referenced by the classpath, does not exist. This error comes if when the jar file is dislocated from the path you added to the class path. To get the error …

Continue reading

The goal you specified requires a project to execute but there is no POM in this directory

On executing the mvn generate the below error will come sometimes mvn archetype:generate -DgroupId = com.chillyfacts.helloworld -DartifactId = helloworld -DarchetypeArtifactId = maven-archetype-webapp -DinteractiveMode = false [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 0.147 s [INFO] Finished at: 2017-11-26T21:08:47+03:00 [INFO] Final Memory: 7M/116M [INFO] ———————————————————————— [ERROR] The goal you …

Continue reading

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. https://chillyfacts.com/mysql-connector-jar-download/ Add the jar to Classpath. Check the below link to add the Jar in …

Continue reading