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

CDI warning on startup - ServiceLoader could not load service class

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2017.12.1
    • Fix Version/s: 2018.3.3
    • Component/s: microprofile
    • Labels:
      None

      Description

      Get these warnings when I start the server :

      2018-01-07 09:57:11,314 WARNING [ServiceLoader] (main) Could not load service class org.wildfly.swarm.cdi.config.deployment.InjectConfigViewExtension
      2018-01-07 09:57:11,315 WARNING [ServiceLoader] (main) Could not load service class org.wildfly.swarm.microprofile.jwtauth.deployment.auth.cdi.MPJWTExtension
      2018-01-07 09:57:11,316 WARNING [ServiceLoader] (main) Could not load service class org.wildfly.swarm.microprofile.health.deployment.HealthExtension
      2018-01-07 09:57:11,316 WARNING [ServiceLoader] (main) Could not load service class org.wildfly.swarm.microprofile.metrics.deployment.MetricCdiInjectionExtension
      

      pom.xml

      <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>jpa</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>ejb</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>jaxrs</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>jaxrs-cdi</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>cdi</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>logging</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>security</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
      
              <!-- Microprofile -->
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>microprofile-jwt</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>microprofile-config</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>microprofile-health</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
              <dependency>
                  <groupId>org.wildfly.swarm</groupId>
                  <artifactId>microprofile-metrics</artifactId>
                  <version>${wildfly-swarm.version}</version>
              </dependency>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkouba Martin Kouba
                  Reporter:
                  jonleyo Jonathan Laterreur
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: