Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run Main #9

Open
Anzo52 opened this issue Jun 24, 2022 · 0 comments
Open

Cannot run Main #9

Anzo52 opened this issue Jun 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Anzo52
Copy link
Owner

Anzo52 commented Jun 24, 2022

Name

Anzo52

Describe your Issue

After compiling, the following happens when attempting to run Main:

$ java Main
Error: Could not find or load main class Main
Caused by: java.lang.NoClassDefFoundError: Main/Main (wrong name: Main)

Maybe an issue with directory Main or with package declaration in Main.java?

@Anzo52 Anzo52 added the bug Something isn't working label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant