games647 / LambdaAttack

Minecraft bot for servers. Currently supports stress testing.
MIT License
278 stars 56 forks source link

Errors importing the project #27

Open Sapu98 opened 6 years ago

Sapu98 commented 6 years ago

Hi, I have learnt how to use maven just to be able to use this project but still it doesnt want to work properly when imported... I was wondering if i could contact you somewere like discord or skype to try fix this?

games647 commented 6 years ago

You have to open the core project in your IDE. I noticed that some IDEs have issues with detecting relocation.

Sapu98 commented 6 years ago

This is what i've got http://prntscr.com/jjkwd0

games647 commented 6 years ago

Do you run mvn clean install before?

Sapu98 commented 6 years ago

yes, this is the console output:

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building lambdaattack-core 2.3.1 [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://jitpack.io/com/github/games647/lambdaattack-version/2.3.1/lambdaattack-version-2.3.1.pom [INFO] Downloading: https://jitpack.io/com/github/games647/lambdaattack-version-1-11/2.3.1/lambdaattack-version-1-11-2.3.1.pom [INFO] Downloading: https://jitpack.io/com/github/games647/lambdaattack-version-1-12/2.3.1/lambdaattack-version-1-12-2.3.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.281 s [INFO] Finished at: 2018-05-18T18:00:43+02:00 [INFO] Final Memory: 10M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project lambdaattack-core: Could not resolve dependencies for project com.github.games647:lambdaattack-core:jar:2.3.1: Failed to collect dependencies at com.github.games647:lambdaattack-version:jar:2.3.1: Failed to read artifact descriptor for com.github.games647:lambdaattack-version:jar:2.3.1: Could not transfer artifact com.github.games647:lambdaattack-version:pom:2.3.1 from/to jitpack.io (https://jitpack.io): Access denied to https://jitpack.io/com/github/games647/lambdaattack-version/2.3.1/lambdaattack-version-2.3.1.pom. Error code 401, Unauthorized -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException Picked up _JAVA_OPTIONS: -Xmx512M

games647 commented 6 years ago

You should do it for the parent project.

Sapu98 commented 6 years ago

mmmhh , this is what i've been doing: I downloaded the project from git, imported everything in eclipse "Import Existing Maven Project": http://prntscr.com/jjm0b4 and I ran the clean install http://prntscr.com/jjm1q4 (is this right?) the console said it worked but what should I do now? http://prntscr.com/jjm472

games647 commented 6 years ago

The guide says you should run this command inside the root project folder. You ran it inside the core project folder.

Sapu98 commented 6 years ago

Ok, I think i did it, now the problem is that when I start the bot from the ide i get this: "Disconnected: java.lang.IllegalStateException: group not set", do u know what could be the cause?

games647 commented 6 years ago

Which protocol (Minecraft version) do you tried?

Sapu98 commented 6 years ago

1.12

hashwithoutatag commented 5 years ago

I am having this same error

hashwithoutatag commented 5 years ago

https://pastebin.com/2rvS424C