Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7513

Swagger UI from CXF Swagger2Feature not working on WebLogic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.7
    • 3.1.13
    • JAX-RS
    • None
    • Unknown

    Description

      Swagger UI, integrated with CXF Swagger2Feature (http://cxf.apache.org/docs/swagger2feature.html#Swagger2Feature-EnablingSwaggerUI) works ok on Tomcat:

      but not in WebLogic:

      I have in my Maven project dependencies:

            <dependency>
              <groupId>org.apache.cxf</groupId>
              <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
              <version>3.1.7</version>
            </dependency>
            <dependency>
              <groupId>org.webjars</groupId>
              <artifactId>swagger-ui</artifactId>
              <version>2.2.5</version>
            </dependency>
      

      I guess the classloading on WebLogic is not compatible with the code at AbstractSwaggerFeature.checkSwaggerUiResourceRoot().

      Do you know if this issue solved in most recent versions of cxf ?

      Thanks in advance.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jbaris Juan Ignacio Barisich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: