2

How do I compile and run a NetBeans Project that has multiple packages that contain multiple classes in the terminal? I get:

        Error: Could not find or load main class CharacterCreatorapp.class

when trying to compile some of the classes within a package I get:

          $ javac Wizard.java
          Wizard.java:11: error: cannot find symbol
          public class Wizard extends CharacterCreator
                        ^
          symbol: class CharacterCreator
          Wizard.java:31: error: method does not override or implement a
          method from a supertype
          @Override
          ^
          Wizard.java:35: error: cannot find symbol
            + super.toString() 
              ^
          symbol:   variable super
          location: class Wizard
          3 errors

and this is after CharacterCreator.java compiled successfully.

Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130
Douglas
  • 21
  • 1
  • go to ( https://stackoverflow.com/questions/7485670/error-could-not-find-or-load-main-class?rq=1 ) it might help. – C.Ounoughi Nov 22 '17 at 21:03

0 Answers0