You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Kohányi Róbert (JIRA)" <ji...@apache.org> on 2016/04/15 10:35:25 UTC

[jira] [Commented] (GROOVY-5727) Ovverriding 3rd Party libraries shipped

    [ https://issues.apache.org/jira/browse/GROOVY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242645#comment-15242645 ] 

Kohányi Róbert commented on GROOVY-5727:
----------------------------------------

I've recently encountered the same error, here is the [related GitHub issue|https://github.com/perwendel/spark/issues/523].

> Ovverriding 3rd Party libraries shipped
> ---------------------------------------
>
>                 Key: GROOVY-5727
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5727
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovysh
>    Affects Versions: 2.0.4
>            Reporter: deas
>              Labels: contrib
>
> Groovy 2.0.4 ships various 3rd party libraries, e.g. servlet-api-2.4.jar and jsp-api-2.0.jar. These can get in the way and I see no reasonable way to use user defined versions in groovysh. Of course you can introduce a custom classloader searching locally before delegating to the parent or just remove the library shipped to get it out of the way, but I feel there should be a groovier way. Maybe you should just omit shipping these libraries.
> A concrete situation where I encountered this problem was when I wanted a groovy script to launch jetty with servlet 3.0 support, pulling in various dependencies with Grape.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)