Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes

Error: Could not find or load main class SymbolArt$SymbolArt
Caused by: java.lang.ClassNotFoundException: SymbolArt$SymbolArt

asked in CSC211_Winter2018 by (8 points)
+8

It sounds a little bit like you might have tried to put a class inside of a class... e.g.

public class SymbolArt {
     public class SymbolArt {
   ...

You should also check whether you wrote

public static void main(String[] args) {

correctly.

(But you may have to provide more details for us to help.)

+6

I’ve fixed the problem. The mistake was not on my coding, I created a new class, and copied the exact same codes on the new class and worked. A friend told me that, some times there are exceptions that the failure might be from java itself.

+6

I doubt it was from Java -- it was probably something that went wrong in the Eclipse editor.

1 Answer

+4 votes

I had the same issue! It's funny how the smallest things can mess it all up.

answered by (8 points)
...