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

Unable to Launch With OpenAPI Fraction using Swarm.run() from IDE

    XMLWordPrintable

Details

    Description

      Unable to launch if using OpenAPI fraction:

      2018-03-12 12:11:26,482 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Swarm 2018.3.3 (WildFly Core 3.0.8.Final) started in 2886ms - Started 128 of 133 services (21 services are lazy, passive or on-demand)
      2018-03-12 12:11:27,114 ERROR [stderr] (main) java.lang.LinkageError: loader constraint violation: when resolving method "org.wildfly.swarm.microprofile.openapi.api.OpenApiDocument.modelFromStaticFile(Lorg/eclipse/microprofile/openapi/models/OpenAPI;)V" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the current class, org/wildfly/swarm/microprofile/openapi/runtime/OpenApiDeploymentProcessor, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, org/wildfly/swarm/microprofile/openapi/api/OpenApiDocument, have different Class objects for the type org/eclipse/microprofile/openapi/models/OpenAPI used in the signature
      2018-03-12 12:11:27,116 ERROR [stderr] (main) 	at org.wildfly.swarm.microprofile.openapi.runtime.OpenApiDeploymentProcessor.process(OpenApiDeploymentProcessor.java:93)
      2018-03-12 12:11:27,118 ERROR [stderr] (main) 	at org.wildfly.swarm.microprofile.openapi.runtime.OpenApiDeploymentProcessor$Proxy$_$$_WeldClientProxy.process(Unknown Source)
      2018-03-12 12:11:27,119 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:233)
      2018-03-12 12:11:27,119 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:174)
      2018-03-12 12:11:27,119 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:107)
      2018-03-12 12:11:27,119 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer$Proxy$_$$_WeldClientProxy.deploy(Unknown Source)
      2018-03-12 12:11:27,119 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.deploy(Swarm.java:473)
      2018-03-12 12:11:27,120 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.main(Swarm.java:744)
      

      Attachments

        Issue Links

          Activity

            People

              mszynkie@redhat.com Michal Szynkiewicz
              dansiviter Daniel Siviter (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: