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

Error: Could not find or load main class Bot #47

Closed
CristianEduardMihai opened this issue May 4, 2021 · 5 comments
Closed

Error: Could not find or load main class Bot #47

CristianEduardMihai opened this issue May 4, 2021 · 5 comments

Comments

@CristianEduardMihai
Copy link

CristianEduardMihai commented May 4, 2021

Hi ! I compiled the bot using ./gradlew clean build and when i run it i get this error:
image
Any ideas why ?
the Bot file is still there.
image

*Looks like i get this error even when i don't modify anything in the source code.

@AffluentAvo
Copy link
Collaborator

I'm not sure what the gradle part does, however it's me.polymarsdev.sokobot.Bot, not just Bot

@CristianEduardMihai
Copy link
Author

I'm not sure what the gradle part does, however it's me.polymarsdev.sokobot.Bot, not just Bot

That is literally what i downloaded from github...i tried without changing anything and still got the same error. Is it the same for Game ?

@AffluentAvo
Copy link
Collaborator

Yea, everything is in me.polymars.dev.sokobot.. I have to check that out with @PolyMarsDev.

@CristianEduardMihai
Copy link
Author

CristianEduardMihai commented May 7, 2021

Yea, everything is in me.polymars.dev.sokobot.. I have to check that out with @PolyMarsDev.

I changet it and my gradle build failed at :compileJava:..it works only with Bot.java and Game.java

The same for teamSnake...

@T0biii
Copy link

T0biii commented May 8, 2021

have a look at #42 did the fix for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants