Skip to content

Sample Spring app is broken in Jetty container #145

Open

Description

@HaloFour

The version of Jackson currently used by the Spring sample project has an embedded module-info for Java 9 JMS which causes Jetty to throw an exception when scanning for attributes. We would need to upgrade to at least Jetty 9.4.x which has support for Java 9, even if we're running on a Java 8 runtime. I did attempt that upgrade last night but was having trouble getting the Spring mappings to work so that will require additional work. However, downgrading Jackson back to 2.9.x works around the issue.

See: jetty/jetty.project#1692

Activity

  1. joakime commented on Feb 22, 2021

    @joakime

    Looking at https://github.com/Comcast/money/blob/master/samples/samples-springmvc/pom.xml#L14

    It references Jetty 8.x, which is EOL (End of Life) and should not be used.
    Jetty 8.x is also subject to several security issues, be aware of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions