[
https://issues.apache.org/jira/browse/IGNITE-11469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790473#comment-16790473
]
Dmitriy Pavlov commented on IGNITE-11469:
-----------------------------------------
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: 20m
> 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)