Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3956

org.wildfly.security.auth.client.spi.RESTEasyClientConfigProviderImpl Unable to get public no-arg constructor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.12.0.GA
    • 7.12.0.GA
    • Business Central
    • None
    • False
    • False
    • ER3
    • CR1
    • Hide
      1. Download the zip project.
      2. Run mvn clean install.
      3. Error is thrown.
      • If the wildfly-elytron is excluded then it passed.
          <dependency>
            <groupId>org.kie.server</groupId>
            <artifactId>kie-server-client</artifactId>
            <version>7.59.1-SNAPSHOT</version>
            <exclusions>
              <exclusion>
                <groupId>org.wildfly.security</groupId>
                <artifactId>wildfly-elytron</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
      
      Show
      Download the zip project. Run mvn clean install. Error is thrown. If the wildfly-elytron is excluded then it passed. <dependency> <groupId>org.kie.server</groupId> <artifactId>kie-server-client</artifactId> <version>7.59.1-SNAPSHOT</version> <exclusions> <exclusion> <groupId>org.wildfly.security</groupId> <artifactId>wildfly-elytron</artifactId> </exclusion> </exclusions> </dependency>

      Error

      java.util.ServiceConfigurationError: org.jboss.resteasy.client.jaxrs.spi.ClientConfigProvider: org.wildfly.security.auth.client.spi.RESTEasyClientConfigProviderImpl Unable to get public no-arg constructor
              at org.tomasdavid.restwbtest.SimpleTest.openGoogleTest(SimpleTest.java:10)
      Caused by: java.lang.NoClassDefFoundError: org/wildfly/client/config/ConfigXMLParseException
              at org.tomasdavid.restwbtest.SimpleTest.openGoogleTest(SimpleTest.java:10)
      Caused by: java.lang.ClassNotFoundException: org.wildfly.client.config.ConfigXMLParseException
              at org.tomasdavid.restwbtest.SimpleTest.openGoogleTest(SimpleTest.java:10)
      

      when two org.kie dependecies

      • business-central-tests-rest
      • kie-server-client
        are in the same project.

      Pom.xml:

          <dependency>
            <groupId>org.kie</groupId>
            <artifactId>business-central-tests-rest</artifactId>
            <version>7.59.1-SNAPSHOT</version>
          </dependency>
          <dependency>
            <groupId>org.kie.server</groupId>
            <artifactId>kie-server-client</artifactId>
            <version>7.59.1-SNAPSHOT</version>
          </dependency>
      

      The problematic dependency of kie-server-client is:

          <dependency>
                <groupId>org.wildfly.security</groupId>
                <artifactId>wildfly-elytron</artifactId>
          </dependency>
      

            david.magallanes David Gutierrez
            tdavid@redhat.com Tomas David
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: