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

Errors importing the project #27

Open
Sapu98 opened this issue May 18, 2018 · 12 comments
Open

Errors importing the project #27

Sapu98 opened this issue May 18, 2018 · 12 comments
Labels
question Issuer has a question about this project

Comments

@Sapu98
Copy link

Sapu98 commented May 18, 2018

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 games647 added the question Issuer has a question about this project label May 18, 2018
@games647
Copy link
Owner

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

@Sapu98
Copy link
Author

Sapu98 commented May 18, 2018

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

@games647
Copy link
Owner

Do you run mvn clean install before?

@Sapu98
Copy link
Author

Sapu98 commented May 18, 2018

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
Copy link
Owner

You should do it for the parent project.

@Sapu98
Copy link
Author

Sapu98 commented May 18, 2018

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
Copy link
Owner

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

@Sapu98
Copy link
Author

Sapu98 commented May 20, 2018

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
Copy link
Owner

Which protocol (Minecraft version) do you tried?

@Sapu98
Copy link
Author

Sapu98 commented May 21, 2018

1.12

@hashwithoutatag
Copy link

I am having this same error

@hashwithoutatag
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issuer has a question about this project
Projects
None yet
Development

No branches or pull requests

3 participants