Run time error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Run time error

What does "class not found " exception mean? I don't have a code. It's like when i execute some programs in my lab in college, when i run the program which shows no compile time errors, i get an error saying class not found. Most of the students in my class get the error

29th Apr 2018, 4:01 PM
Rachita Nayak
Rachita Nayak - avatar
2 Answers
+ 4
Can you show your code?
29th Apr 2018, 4:03 PM
Fabio
+ 2
You need to fix your class path for the code/class/jar you're attempting to use in your project. Your project is looking for the class not found at runtime relative to where the program is currently running. This can vary depending on the IDE you're using, if you're using one, and the projects current classpath. The errors output should show you what and where it is currently looking for. https://stackoverflow.com/questions/17408769/how-do-i-resolve-classnotfoundexception
29th Apr 2018, 4:53 PM
ChaoticDawg
ChaoticDawg - avatar