1 Reply Latest reply on Jan 17, 2010 9:52 PM by nickarls

    Weld Snapshot on JBoss6M1

      Hi,


      I've checked out the latest version of weld and weld-int. Afterwards I replaced the entire weld.deployer directory of my JBoss installation with weld-jboss-int-deployer-assembly-6.0.0-SNAPSHOT. After that I replaced the weld.deployer/lib-int/weld-core.jar with weld-core-1.0.1-SNAPSHOT.jar.


      JBoss starts without any exception but if I deploy my webapp I get the following exception:



      18:21:10,925 ERROR [AbstractKernelController] Error installing to Start: name=vfszip:/home/sidux/projects/j4fry/trunk/server/server/development/deploy/app-ear.ear/_WeldBootstrapBean state=Create
      java.lang.RuntimeException: by java.lang.NoClassDefFoundError: de/j4fry/business/api/local/AuthenticationService
           at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
           at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
           at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
           at org.jboss.weld.util.Proxies.createProxyClass(Proxies.java:187)
           at org.jboss.weld.util.Proxies.createProxyClass(Proxies.java:168)
           at org.jboss.weld.bean.SessionBean.initProxyClass(SessionBean.java:219)
           at org.jboss.weld.bean.SessionBean.initialize(SessionBean.java:141)
           at org.jboss.weld.bootstrap.AbstractBeanDeployer.deploy(AbstractBeanDeployer.java:110)
           at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:151)
           at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:374)
           at org.jboss.weld.integration.deployer.env.helpers.BootstrapBean.boot(BootstrapBean.java:121)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)




      My project directory structure looks like this



      app-ear.ear
      + app-api.jar
      + app-ejb.jar
      + app-web.war





      app-api.jar contains the local interface AuthenticationService and ejb-jar.jar contains the implementation of AuthenticationService.


      Do I have to update any other JARs as mentioned above?