Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-327

Unable to create an exception mapper for javax.ws.rs.NotFoundException

    Details

      Description

      For reference: http://stackoverflow.com/questions/35815116/excpetionmapper-does-not-work-with-wildfly-swarm-but-does-work-in-wildfly-server/35816526

      You can run the example from here: https://github.com/johnament/wildfly-swarm-examples/tree/master/jaxrs/jaxrs-shrinkwrap

      After building the app, run it and go to a URL that shouldn't work, e.g. http://localhost:8080/dammitbob and see that you get the default not found exception handler. Creating a provider for NotFoundException generally works in WildFly 10.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                meetoblivion John Ament
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: