[jboss-dev] org/jboss/ejb3/JndiUtil missing from jboss-ejb3-client.jar

Heiko Braun hbraun at redhat.com
Thu Jul 12 09:42:34 EDT 2007


java.lang.NoClassDefFoundError: org/jboss/ejb3/JndiUtil
        at
org.jboss.injection.JndiFieldInjector.lookup(JndiFieldInjector.java:82)
        at
org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:101)
        at
org.jboss.ejb3.client.ClientContainer.<init>(ClientContainer.java:120)
        at
org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:76)
        at
org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:179)


I did update the ejb3 build to include that class:

[hbraun at localhost trunk]$ svn diff ejb3/build.xml
Index: ejb3/build.xml
===================================================================
--- ejb3/build.xml      (revision 63987)
+++ ejb3/build.xml      (working copy)
@@ -323,6 +323,7 @@
       <jar jarfile="${build.lib}/jboss-ejb3-client.jar"
manifest="${build.etc}/default.mf">
          <fileset dir="${build.classes}">
             <include name="org/jboss/ejb3/EJB3Util.class"/>
+           <include name="org/jboss/ejb3/JndiUtil.class"/>
             <include name="org/jboss/ejb3/Ejb3Registry.class"/>
             <include
name="org/jboss/ejb3/InitialContextFactory.class"/>
             <include name="org/jboss/ejb3/asynchronous/*"/>


/Heiko








More information about the jboss-development mailing list