https://bz.apache.org/bugzilla/show_bug.cgi?id=63487

--- Comment #3 from Trevin Beattie <trevin.beat...@gigsternetwork.com> ---
Following up: I got a list of the jars included in our gradle build, and found
that there were indeed conflicting implementations of HttpSessionListener:

* tomcat-embed-core-9.0.17.jar
* javax.servlet-api-3.1.0.jar

Apache’s interface declares default methods, while Oracle’s interface does not.
 I found the library that was pulling in javax.servlet-api as a dependency and
figured out how to exclude it:

    compile("com.sparkjava:spark-core:2.7.2") {
        exclude group: "javax.servlet", module: "javax.servlet-api"
    }

That cleared up the errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to