[
https://issues.apache.org/jira/browse/IGNITE-11469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790521#comment-16790521
]
Dmitriy Pavlov commented on IGNITE-11469:
-----------------------------------------
[~Jokser], could you take a brief look at PR
https://github.com/apache/ignite/pull/6256 ? It is actually very simple, but
process is process :)
> 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)