4 Replies Latest reply on Sep 23, 2009 9:54 PM by Pete Muir

    Problem in Building Seam 3

    Sachin Parnami Newbie

      Hi All,


      I am trying to Build Seam3 i get below mentioned Compilation Error while running mvn install in seam-trunk/modules


      ERROR is




      [INFO] ------------------------------------------------------------------------
      [INFO] Building Seam Bridge API
      [INFO]    task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [enforcer:enforce {execution: enforce}]
      [INFO] [resources:resources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:compile]
      [INFO] Compiling 4 source files to /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/target/classes
      [INFO] [resources:testResources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:testCompile]
      [INFO] Compiling 7 source files to /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/target/test-classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/ManagerProviderStub.java:[6,25] cannot find symbol
      symbol  : class CurrentManager
      location: package org.jboss.webbeans
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/IncorrectManagerProviderStub.java:[7,25] cannot find symbol
      symbol  : class CurrentManager
      location: package org.jboss.webbeans
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java:[35,11] cannot find symbol
      symbol  : method before()
      location: class org.jboss.webbeans.test.AbstractWebBeansTest
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java:[31,3] method does not override or implement a method from a supertype
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/ManagerProviderStub.java:[12,13] cannot find symbol
      symbol  : variable CurrentManager
      location: class org.jboss.seam.bridge.stubs.ManagerProviderStub
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/IncorrectManagerProviderStub.java:[16,45] cannot find symbol
      symbol  : variable CurrentManager
      location: class org.jboss.seam.bridge.stubs.IncorrectManagerProviderStub
      
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 12 seconds
      [INFO] Finished at: Fri Sep 18 10:11:40 IST 2009
      [INFO] Final Memory: 27M/81M
      



      Now when i add specified dependency in parent pom.xml




      <dependency>
         <version>1.0.0.ALPHA2</version>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>webbeans-ri</artifactId>
      </dependency>
      <dependency>
         <groupId>org.jboss.webbeans</groupId>
         <artifactId>webbeans-core-test</artifactId>
         <version>1.0.0.PREVIEW2</version>
      </dependency>



      I still get



      [INFO] ------------------------------------------------------------------------
      [INFO] Building Seam Bridge API
      [INFO]    task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [enforcer:enforce {execution: enforce}]
      [INFO] [resources:resources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:compile]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] [resources:testResources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:testCompile]
      [INFO] Compiling 6 source files to /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/target/test-classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/ManagerProviderStub.java:[12,41] cannot find symbol
      symbol  : method getCurrent()
      location: class org.jboss.webbeans.ManagerImpl
      
      /home/mobicents/Sachin/WorkSpace/seam-trunk/modules/bridge-api/src/test/java/org/jboss/seam/bridge/stubs/IncorrectManagerProviderStub.java:[16,28] cannot find symbol
      symbol  : method newChildManager(org.jboss.webbeans.ManagerImpl)
      location: class org.jboss.webbeans.BeanManagerImpl
      
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 23 seconds
      [INFO] Finished at: Fri Sep 18 10:29:37 IST 2009
      [INFO] Final Memory: 25M/80M
      






      Please suggest what to do Is there any Binary with JBOss5.0.1 ? which i can use directly?


      Thanks and Regards,
      Sachin Parnami