0 Replies Latest reply on Jul 22, 2011 10:27 AM by sebastianovide

    new Weld().initialize() = >Unknown type "org.jboss.weld.environment.se.Weld"<

    sebastianovide Newbie

      Hi All,


      I'm trying to add a test for some CDI classes...


      in my pom I've added




              <dependency>
                  <groupId>org.jboss.weld.se</groupId>
                  <artifactId>weld-se</artifactId>
                  <version>1.1.1.Final</version>
                  <scope>test</scope>
                  <type>jar</type>
              </dependency>





      and in my test I'm using new Weld().initialize() which in run time (test time) it generates this error




      new Weld().initialize() = >Unknown type "org.jboss.weld.environment.se.Weld"<





      any ideas ?