Wildfly 10.1 deployment log warnings












0














I'm getting some warnings when deploying a rest service in wildfly 10.1, so I'm searching for a way to get rid of those. I'm new to this topic and created the rest service through a maven template (jersey-quickstart-webapp).



Wildfly log warnings:



13:04:39,947 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
13:04:57,330 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
13:04:57,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/yasson-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 20
13:04:57,540 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-api-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
13:04:57,641 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json.bind-api-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 28
13:04:58,145 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry univocity-parsers-2.5.9.jar in /content/converter.war/WEB-INF/lib/org.junit.jupiter.params_5.1.0.v20180327-1502.jar does not point to a valid jar for a Class-Path reference.
13:05:04,532 WARN [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) WELD-000167: Class org.glassfish.jersey.jsonb.internal.JsonBindingProvider is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean!


Pom.xml



<project xmlns="http://maven.apache.org/POM/4.0.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>package</groupId>
<artifactId>converter</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>converter</name>

<build>
<finalName>converter</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<inherited>true</inherited>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${jersey.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet-core</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-binding</artifactId>
</dependency>
</dependencies>
<properties>
<jersey.version>2.27</jersey.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>


What do I have to change to clear these warnings? If you need an explicit part of the code to be able to give me an answer I can add it afterwards.










share|improve this question



























    0














    I'm getting some warnings when deploying a rest service in wildfly 10.1, so I'm searching for a way to get rid of those. I'm new to this topic and created the rest service through a maven template (jersey-quickstart-webapp).



    Wildfly log warnings:



    13:04:39,947 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
    13:04:57,330 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
    13:04:57,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/yasson-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 20
    13:04:57,540 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-api-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
    13:04:57,641 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json.bind-api-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 28
    13:04:58,145 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry univocity-parsers-2.5.9.jar in /content/converter.war/WEB-INF/lib/org.junit.jupiter.params_5.1.0.v20180327-1502.jar does not point to a valid jar for a Class-Path reference.
    13:05:04,532 WARN [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) WELD-000167: Class org.glassfish.jersey.jsonb.internal.JsonBindingProvider is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean!


    Pom.xml



    <project xmlns="http://maven.apache.org/POM/4.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
    http://maven.apache.org/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>package</groupId>
    <artifactId>converter</artifactId>
    <packaging>war</packaging>
    <version>0.0.1-SNAPSHOT</version>
    <name>converter</name>

    <build>
    <finalName>converter</finalName>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.5.1</version>
    <inherited>true</inherited>
    <configuration>
    <source>1.8</source>
    <target>1.8</target>
    </configuration>
    </plugin>
    </plugins>
    </build>

    <dependencyManagement>
    <dependencies>
    <dependency>
    <groupId>org.glassfish.jersey</groupId>
    <artifactId>jersey-bom</artifactId>
    <version>${jersey.version}</version>
    <type>pom</type>
    <scope>import</scope>
    </dependency>
    </dependencies>
    </dependencyManagement>

    <dependencies>
    <dependency>
    <groupId>org.glassfish.jersey.containers</groupId>
    <artifactId>jersey-container-servlet-core</artifactId>
    </dependency>
    <dependency>
    <groupId>org.glassfish.jersey.inject</groupId>
    <artifactId>jersey-hk2</artifactId>
    </dependency>
    <dependency>
    <groupId>org.glassfish.jersey.media</groupId>
    <artifactId>jersey-media-json-binding</artifactId>
    </dependency>
    </dependencies>
    <properties>
    <jersey.version>2.27</jersey.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    </project>


    What do I have to change to clear these warnings? If you need an explicit part of the code to be able to give me an answer I can add it afterwards.










    share|improve this question

























      0












      0








      0







      I'm getting some warnings when deploying a rest service in wildfly 10.1, so I'm searching for a way to get rid of those. I'm new to this topic and created the rest service through a maven template (jersey-quickstart-webapp).



      Wildfly log warnings:



      13:04:39,947 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
      13:04:57,330 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
      13:04:57,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/yasson-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 20
      13:04:57,540 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-api-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
      13:04:57,641 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json.bind-api-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 28
      13:04:58,145 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry univocity-parsers-2.5.9.jar in /content/converter.war/WEB-INF/lib/org.junit.jupiter.params_5.1.0.v20180327-1502.jar does not point to a valid jar for a Class-Path reference.
      13:05:04,532 WARN [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) WELD-000167: Class org.glassfish.jersey.jsonb.internal.JsonBindingProvider is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean!


      Pom.xml



      <project xmlns="http://maven.apache.org/POM/4.0.0" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
      http://maven.apache.org/maven-v4_0_0.xsd">

      <modelVersion>4.0.0</modelVersion>

      <groupId>package</groupId>
      <artifactId>converter</artifactId>
      <packaging>war</packaging>
      <version>0.0.1-SNAPSHOT</version>
      <name>converter</name>

      <build>
      <finalName>converter</finalName>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>2.5.1</version>
      <inherited>true</inherited>
      <configuration>
      <source>1.8</source>
      <target>1.8</target>
      </configuration>
      </plugin>
      </plugins>
      </build>

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>org.glassfish.jersey</groupId>
      <artifactId>jersey-bom</artifactId>
      <version>${jersey.version}</version>
      <type>pom</type>
      <scope>import</scope>
      </dependency>
      </dependencies>
      </dependencyManagement>

      <dependencies>
      <dependency>
      <groupId>org.glassfish.jersey.containers</groupId>
      <artifactId>jersey-container-servlet-core</artifactId>
      </dependency>
      <dependency>
      <groupId>org.glassfish.jersey.inject</groupId>
      <artifactId>jersey-hk2</artifactId>
      </dependency>
      <dependency>
      <groupId>org.glassfish.jersey.media</groupId>
      <artifactId>jersey-media-json-binding</artifactId>
      </dependency>
      </dependencies>
      <properties>
      <jersey.version>2.27</jersey.version>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      </properties>
      </project>


      What do I have to change to clear these warnings? If you need an explicit part of the code to be able to give me an answer I can add it afterwards.










      share|improve this question













      I'm getting some warnings when deploying a rest service in wildfly 10.1, so I'm searching for a way to get rid of those. I'm new to this topic and created the rest service through a maven template (jersey-quickstart-webapp).



      Wildfly log warnings:



      13:04:39,947 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
      13:04:57,330 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
      13:04:57,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/yasson-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 20
      13:04:57,540 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json-api-1.1.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
      13:04:57,641 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0003: Could not index class module-info.class at /content/converter.war/WEB-INF/lib/javax.json.bind-api-1.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 28
      13:04:58,145 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry univocity-parsers-2.5.9.jar in /content/converter.war/WEB-INF/lib/org.junit.jupiter.params_5.1.0.v20180327-1502.jar does not point to a valid jar for a Class-Path reference.
      13:05:04,532 WARN [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) WELD-000167: Class org.glassfish.jersey.jsonb.internal.JsonBindingProvider is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean!


      Pom.xml



      <project xmlns="http://maven.apache.org/POM/4.0.0" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
      http://maven.apache.org/maven-v4_0_0.xsd">

      <modelVersion>4.0.0</modelVersion>

      <groupId>package</groupId>
      <artifactId>converter</artifactId>
      <packaging>war</packaging>
      <version>0.0.1-SNAPSHOT</version>
      <name>converter</name>

      <build>
      <finalName>converter</finalName>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>2.5.1</version>
      <inherited>true</inherited>
      <configuration>
      <source>1.8</source>
      <target>1.8</target>
      </configuration>
      </plugin>
      </plugins>
      </build>

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>org.glassfish.jersey</groupId>
      <artifactId>jersey-bom</artifactId>
      <version>${jersey.version}</version>
      <type>pom</type>
      <scope>import</scope>
      </dependency>
      </dependencies>
      </dependencyManagement>

      <dependencies>
      <dependency>
      <groupId>org.glassfish.jersey.containers</groupId>
      <artifactId>jersey-container-servlet-core</artifactId>
      </dependency>
      <dependency>
      <groupId>org.glassfish.jersey.inject</groupId>
      <artifactId>jersey-hk2</artifactId>
      </dependency>
      <dependency>
      <groupId>org.glassfish.jersey.media</groupId>
      <artifactId>jersey-media-json-binding</artifactId>
      </dependency>
      </dependencies>
      <properties>
      <jersey.version>2.27</jersey.version>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      </properties>
      </project>


      What do I have to change to clear these warnings? If you need an explicit part of the code to be able to give me an answer I can add it afterwards.







      java maven web-applications jersey wildfly






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 at 20:19









      Ooooof

      33




      33





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437576%2fwildfly-10-1-deployment-log-warnings%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437576%2fwildfly-10-1-deployment-log-warnings%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)