0 Replies Latest reply on Jan 29, 2008 10:24 AM by craiggreenhalgh

    CDK installation issue

    craiggreenhalgh

      Hi,

      Appolgies I'm new to maven to that might explain this question!

      I'm trying to set the CDK up and have followed the steps at http://labs.jboss.com/wiki/UsingCDKStartUp

      However, everytime i run "mvn install" it fails as i get compliation issues. It looks like i need to reference JUnit somewhere?

      I get

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure
      
      C:\Development\workspace\JsfComponentLib\mylib\src\test\java\org
      \mycompany\component\JSFComponentTest.java:[24,23] package junit.framework does
      not exist
      
      C:\Development\workspace\JsfComponentLib\mylib\src\test\java\org
      \mycompany\component\JSFComponentTest.java:[25,23] package junit.framework does
      not exist
      
      C:\Development\workspace\JsfComponentLib\mylib\src\test\java\org
      \mycompany\component\JSFComponentTest.java:[26,23] package junit.framework does
      not exist
      
      C:\Development\workspace\JsfComponentLib\mylib\src\test\java\org
      \mycompany\component\JSFComponentTest.java:[33,12] cannot find symbol
      symbol: class TestCase
       extends TestCase
      
      C:\Development\workspace\JsfComponentLib\mylib\src\test\java\org
      \mycompany\component\JSFComponentTest.java:[51,8] cannot find symbol
      symbol : method assertTrue(boolean)
      location: class org.mycompany.component.JSFComponentTest
      


      Any advice would be great

      Thanks

      Craig