You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2019/03/12 12:13:00 UTC

[jira] [Comment Edited] (IGNITE-11469) Support Automatic modules for ignite-rest-http: resolve package inference between Jetty & Tomcat

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

Dmitriy Pavlov edited comment on IGNITE-11469 at 3/12/19 12:12 PM:
-------------------------------------------------------------------

_


was (Author: dpavlov):
This issue fix consists of 2 commits
- https://github.com/apache/ignite/commit/526871860526bd674fced26813910904fda1be2b
- 

> Support Automatic modules for ignite-rest-http: resolve package inference between Jetty & Tomcat
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11469
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11469
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Dmitriy Pavlov
>            Assignee: Dmitriy Pavlov
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat}
> error: the unnamed module reads package javax.servlet.http from both javax.servlet.api and tomcat.servlet.api
> error: the unnamed module reads package javax.servlet.descriptor from both javax.servlet.api and tomcat.servlet.api
> error: the unnamed module reads package javax.servlet.annotation from both javax.servlet.api and tomcat.servlet.api
> error: the unnamed module reads package javax.servlet from both javax.servlet.api and tomcat.servlet.api
> {noformat}
> Exclude of tomcat dependency solves the problem
> {code}
>  compile(group: 'org.apache.ignite', name: 'ignite-rest-http', version: ignVer) {
>         exclude group: 'org.apache.tomcat'
>         // to remove "javax.servlet.http, javax.servlet.descriptor, javax.servlet.annotation, javax.servlet" package conflicts.
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)