1 2 Previous Next 20 Replies Latest reply on May 15, 2015 2:55 AM by andreas_w Go to original post
      • 15. Re: Problem with weld during deployment on WildFly 8.2
        andreas_w

        I tried to run your tests but somehow I am not able to run them. I got this error:

         

        [INFO] Reactor Summary:
        [INFO]
        [INFO] Weld Parent ........................................ SUCCESS [  3.862 s]
        [INFO] Weld Implementation (Core) ......................... FAILURE [ 17.050 s]
        [INFO] Weld Core - JSF .................................... SKIPPED
        [INFO] Weld Implementation ................................ SKIPPED
        [INFO] Weld Porting Package for the CDI TCK 1.1 ........... SKIPPED
        [INFO] Weld Test Utilities ................................ SKIPPED
        [INFO] Weld Unit Tests .................................... SKIPPED
        [INFO] Weld Integration Tests (JBoss AS) .................. SKIPPED
        [INFO] AtInject TCK runner for Weld ....................... SKIPPED
        [INFO] CDI TCK runner (1.1, 1.2) for Weld (WildFly) ....... SKIPPED
        [INFO] Weld Environment Common ............................ SKIPPED
        [INFO] Weld SE (Core) ..................................... SKIPPED
        [INFO] Weld SE (Uber Jar) ................................. SKIPPED
        [INFO] Weld Servlet Parent ................................ SKIPPED
        [INFO] Weld Servlet Core .................................. SKIPPED
        [INFO] Weld Servlet (Uber Jar) ............................ SKIPPED
        [INFO] Weld Servlet Integration Tests (Base) .............. SKIPPED
        [INFO] Weld Servlet Integration Tests (Tomcat) ............ SKIPPED
        [INFO] Weld Servlet Integration Tests (Jetty) ............. SKIPPED
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 21.935 s
        [INFO] Finished at: 2015-03-20T11:34:22+01:00
        [INFO] Final Memory: 44M/576M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project weld-core-impl: No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [ERROR]
        [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
        [ERROR]
        [ERROR] After correcting the problems, you can resume the build with the command
        [ERROR]   mvn <goals> -rf :weld-core-impl
        
        

         

        But I have no idea if I did something wrong or not? Haven't used maven since years.

        • 16. Re: Problem with weld during deployment on WildFly 8.2
          tremes

          Looks like you need to do:

           

          cd tests-arquillian
          


          and then execute the test:-) Sorry if I was not clear before.

          • 17. Re: Problem with weld during deployment on WildFly 8.2
            andreas_w

            Thanks for your help. But I have still a problem. Now I am getting the following error. I am still doing something wrong?

             

            [INFO] Scanning for projects...
            [INFO]                                                                         
            [INFO] ------------------------------------------------------------------------
            [INFO] Building Weld Integration Tests (JBoss AS) 2.2.10-SNAPSHOT
            [INFO] ------------------------------------------------------------------------
            [WARNING] The POM for org.jboss.weld:weld-core-test-common:jar:2.2.10-SNAPSHOT is missing, no dependency information available
            [WARNING] The POM for org.jboss.weld:weld-core-impl:jar:2.2.10-SNAPSHOT is missing, no dependency information available
            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD FAILURE
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 2.826 s
            [INFO] Finished at: 2015-03-22T10:56:55+01:00
            [INFO] Final Memory: 17M/209M
            [INFO] ------------------------------------------------------------------------
            [ERROR] Failed to execute goal on project weld-core-test-arquillian: Could not resolve dependencies for project org.jboss.weld:weld-core-test-arquillian:jar:2.2.10-SNAPSHOT: The following artifacts could not be resolved: org.jboss.weld:weld-core-test-common:jar:2.2.10-SNAPSHOT, org.jboss.weld:weld-core-impl:jar:2.2.10-SNAPSHOT: Could not find artifact org.jboss.weld:weld-core-test-common:jar:2.2.10-SNAPSHOT -> [Help 1]
            [ERROR] 
            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
            [ERROR] Re-run Maven using the -X switch to enable full debug logging.
            [ERROR] 
            [ERROR] For more information about the errors and possible solutions, please read the following articles:
            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
            
            • 18. Re: Problem with weld during deployment on WildFly 8.2
              tremes

              Ahh ok  I see. You need to compile and install the current snapshot of Weld to your local repository. It means to execute "mvn clean install -DskipTests" in the weld root directory.

              • 19. Re: Problem with weld during deployment on WildFly 8.2
                andreas_w

                Thanks again. Now I was able to test it. It was working for me. I will take a closer look on what is different compared to our build. I will let you know as soon as I have more information about it.

                • 20. Re: Problem with weld during deployment on WildFly 8.2
                  andreas_w

                  We tried to figure out what the problem was. And we tried to change our build-process because we thought maybe there is a problem. But in the meantime WildFly9 RC1 was released and we gave it a try. Surprisingly we were able to deploy our app without any problem. Furthermore other problems which we had with WildFly 8.1 and an apache proxy seems solved. So we won't invest more time in figuring out why it was not working in WildFly 8.2. But thank you very much for your help.

                  1 2 Previous Next