Follow Us
Contribute
  • Register

Exception in thread "main" java.lang.NoClassDefFoundError

0 votes

There may be many causes for this error. The common cause is the incorrect referenced classpath.

requested 1 year ago by errorbase (169,970 points)

1 Solution

0 votes

In order to solve this problem, you can pass additional parameters to java from the command line. You must execute the following line in the folder of your compiled classes.

>java -classpath . (CompiledClass)
solved 1 year ago by errorbase (169,970 points)

Related errors