You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Krystian Nowak (JIRA)" <ji...@apache.org> on 2014/06/17 16:18:02 UTC

[jira] [Created] (STORM-356) Duplicated servlet-api dependency in lib classpath

Krystian Nowak created STORM-356:
------------------------------------

             Summary: Duplicated servlet-api dependency in lib classpath
                 Key: STORM-356
                 URL: https://issues.apache.org/jira/browse/STORM-356
             Project: Apache Storm (Incubating)
          Issue Type: Bug
    Affects Versions: 0.9.2-incubating
            Reporter: Krystian Nowak
            Priority: Minor


Two different versions of _servlet-api_ dependencies are found in _lib_ folder:

{noformat}
knowak@knowak-dell:~/incubator-storm-0.9.2-incubating/storm-dist/binary/target/apache-storm-0.9.2-incubating/lib$ ls -al | grep servlet-api
-rw-rw-r-- 1 knowak knowak  134133 Jan 13 11:44 servlet-api-2.5-20081211.jar
-rw-rw-r-- 1 knowak knowak  105112 Jan 13 11:44 servlet-api-2.5.jar
{noformat}

It seems to be a similar issue to STORM-355 and listing dependencies from _pom.xml_ confirms that:

{noformat}
knowak@knowak-dell:~/incubator-storm-0.9.2-incubating/storm-core$ mvn dependency:list | grep servlet-api
[INFO]    javax.servlet:servlet-api:jar:2.5:compile
[INFO]    org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
{noformat}

The older ones comes transitively from _commons-fileupload_ dependency (I guess the preferred candidate to be excluded) and the newer one from _jetty_ dependency.



--
This message was sent by Atlassian JIRA
(v6.2#6252)