Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10676

WelcomePluginsRootResource doesn't contain any JAX-RS annotated methods

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.12.0-alpha1
    • Fix Version/s: 7.12.0, 7.12.0-alpha3
    • Component/s: welcome
    • Labels:

      Description

      The resource WelcomePluginsRootResource does not provide any JAX-RS annotated methods. This causes deployment to fail for some containers, e.g. TomEE providing CXF as JAX-RS implementation. CXF checks resources for JAX-RS spec compliance and throws an error if a class annotated with @Path does not provide any annotated methods.

      I think the issue here is that WelcomePluginsRootResource is extending AbstractWelcomePluginResource, but it should extend AbstractWelcomePluginRootResource (note the "Root").
      At least all other application do it like this, see CockpitPluginsRootResource for example.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            em Erik Müller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: