1 Reply Latest reply on May 3, 2013 12:55 PM by Aslak Knutsen

    error: package org.jboss.shrinkwrap.impl.base.path does not exist when running tests on Jenkins

    Petr Mensik Newbie

      Hello,

       

      I have a following problem, my tests are working fine locally but when I try to run them on Jenkins, I get a following exception

       

      [ERROR] COMPILATION ERROR :

      [INFO] -------------------------------------------------------------

      [ERROR] /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[38,42] error: package org.jboss.shrinkwrap.impl.base.path does not exist

      [ERROR] /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[38,42] error: package org.jboss.shrinkwrap.impl.base.path does not exist

      [ERROR] /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[107,35] error: cannot find symbol

      [INFO] 3 errors

      [INFO] -------------------------------------------------------------

      [INFO] ------------------------------------------------------------------------

      [ERROR] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Compilation failure

       

      /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[38,42] error: package org.jboss.shrinkwrap.impl.base.path does not exist

      /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[38,42] error: package org.jboss.shrinkwrap.impl.base.path does not exist

      /mnt/hudson_workspace/workspace/jboss-portletbridge--richfaces-metamer-ftest--server-compatibility-core/richfaces-qa/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/AbstractMetamerTest.java:[107,35] error: cannot find symbol

       

      [INFO] ------------------------------------------------------------------------

      [INFO] For more information, run Maven with the -e switch

       

      I tried to clean my local repository but I was still able to build project. I did the same for Jenkins repo but it didn't help me at all, I am still getting same exception.

       

      Relevant code is

       

      line 38: import org.jboss.shrinkwrap.impl.base.path.BasicPath;

       

      line 107: WebAppDescriptor webXmlDefault = Descriptors.importAs(WebAppDescriptor.class).fromStream(

                      defaultWar.get(new BasicPath("WEB-INF/web.xml")).getAsset().openStream());

       

      And my dependencies related ShringWrap are just arquillian-core  version 1.0.3.Final with Drone.

       

      Thanks for any advice.