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

Build fails when run with -Dmaven.repo.local=empty dir

    Details

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

      Description

      When running a clean build using -Dmaven.repo.local pointing to an empty directory, some tests fail with ClassNotFoundException errors.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.wildfly.swarm.arquillian.ArquillianTest
      Resolving 0 out of 475 artifacts
      Dependencies not bundled, will resolve from local M2REPO
      java.lang.ClassNotFoundException: org.wildfly.swarm.Swarm
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.wildfly.swarm.bootstrap.MainInvoker.getMainClass(MainInvoker.java:79)
      	at org.wildfly.swarm.bootstrap.MainInvoker.<init>(MainInvoker.java:33)
      	at org.wildfly.swarm.bootstrap.Main.run(Main.java:44)
      	at org.wildfly.swarm.bootstrap.Main.main(Main.java:35)
      Exception in thread "main" java.lang.ClassNotFoundException: org.wildfly.swarm.Swarm
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.wildfly.swarm.bootstrap.MainInvoker.getMainClass(MainInvoker.java:79)
      	at org.wildfly.swarm.bootstrap.MainInvoker.<init>(MainInvoker.java:33)
      	at org.wildfly.swarm.bootstrap.Main.run(Main.java:44)
      	at org.wildfly.swarm.bootstrap.Main.main(Main.java:35)
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.201 sec <<< FAILURE! - in org.wildfly.swarm.arquillian.ArquillianTest
      org.wildfly.swarm.arquillian.ArquillianTest  Time elapsed: 11.201 sec  <<< ERROR!
      org.jboss.arquillian.container.spi.client.container.DeploymentException: Process failed to start
      Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Process failed to start
      
      
      Results :
      
      Tests in error: 
        ArquillianTest.org.wildfly.swarm.arquillian.ArquillianTest ยป Deployment Proces...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: