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

Conflict with servlet-api #375

Closed
TobiX opened this issue Nov 8, 2017 · 2 comments
Closed

Conflict with servlet-api #375

TobiX opened this issue Nov 8, 2017 · 2 comments

Comments

@TobiX
Copy link

TobiX commented Nov 8, 2017

I was a little surprised that groovy-eclipse bundles servlet-api 2.4 and apparently adds it to the classpath of all Eclipse run configurations. Is this really necessary?

I noticed this with a project which uses a somewhat modern Jetty, which depends on servlet-api 3.0.1 - Unfortunatly, the project cannot be launched from Eclipse anymore, since servlet-api 2.4 ends up on the classpath before servlet-api 3.0.1 and they conflict.

@eric-milles
Copy link
Member

I stopped doing this for Groovy 2.5. If you don't want it, you can change the classpath container to the "minimal" setting (groovy-all jar only) by right clicking on it and picking Properties.

@eric-milles
Copy link
Member

Another note: If you use Ivy, Gradle or Maven to import dependencies, you can bring in groovy-all that way and ditch the Groovy Libraries classpath container altogether.

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