Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-212

SAXParserFactory issues with JBoss AS and EAP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0-beta-2
    • 2.2.0-beta-1
    • gradle
    • None

      Running Embedded Gradle Importer on Jboss AS/EAP/early WildFly results in following exception

      java.lang.RuntimeException: Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.WebArchive org.jboss.shrinkwrap.resolver.example.FullGreeterTest.createDeployment()
      
              Caused by:
              java.lang.reflect.InvocationTargetException
      
                  Caused by:
                  org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.1-all.zip'.
      
                      at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:53)
                      at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
                      at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                      at java.lang.Thread.run(Thread.java:745)
                      at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
                      at org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:71)
                      at org.jboss.shrinkwrap.impl.gradle.archive.importer.embedded.EmbeddedGradleImporterImpl.importBuildOutput(EmbeddedGradleImporterImpl.java:217)
                      at org.jboss.shrinkwrap.resolver.example.FullGreeterTest.createDeployment(FullGreeterTest.java:23)
      
                      Caused by:
                      org.gradle.internal.exceptions.LocationAwareException: Could not resolve all dependencies for configuration ':compile'.
      
                          Caused by:
                          org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':compile'.
      
                              Caused by:
                              org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveException: Could not resolve javax:javaee-api:7.0.
                              Required by:
                                  org.jboss.shrinkwrap.resolver.example:single-module:1.0.0
      
                                  Caused by:
                                  javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory not found
      
                                      Caused by:
                                      java.lang.ClassNotFoundException: __redirected/__SAXParserFactory
      
      

              mmatloka Michal Matloka (Inactive)
              mmatloka Michal Matloka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: