Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2910

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.61.0.Final
    • 7.59.0.Final
    • None
    • None

    Description

      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>
      

      Attachments

        Issue Links

          Activity

            People

              tdavid@redhat.com Tomas David
              tdavid@redhat.com Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: