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

Problems setting it up #25

Open
marko-kisegi opened this issue Oct 13, 2023 · 2 comments
Open

Problems setting it up #25

marko-kisegi opened this issue Oct 13, 2023 · 2 comments

Comments

@marko-kisegi
Copy link

I tried setting it up new gradle command is apparently compileOnly 'me.nithanim.gw2api:gw2api:0.0.8'
Then I tried making a Main class to which I got with the first command I tried running from the tutorial
Caused by: java.lang.ClassNotFoundException: me.nithanim.gw2api.v2.GuildWars2Api

@Nithanim
Copy link
Owner

Hello! I think for gradle you need to use implementation instead of compileOnly. compileOnly would mean not to include it for runtime, and therefore you get the ClassNotFoundException because it is not included. Source:https://stackoverflow.com/questions/61696863/gradle-compileonly-and-runtimeonly

My word of warning: The library is insanely old so it uses a lot of old dependencies and might be broken. I don't know. I started a rewrite a long time ago but never finished it. I hope it still works for you!

@marko-kisegi
Copy link
Author

True. I was mistaken. Its not working well for me I'm just struggling but thanks!

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

2 participants