Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes could not find <ejb-local-ref>'s local interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "could not find <ejb-local-ref> Watch "could not find <ejb-local-ref> New topic

could not find <ejb-local-ref>'s local interface

Joey Jackson

Joined: Dec 08, 2011
Posts: 4
Hi Folks, Im attempting to deploy ch06 code from jbossatwork book using jboss 6.0

I was able to make the program compile but I receive a 'could not find <ejb-local-ref>'s local interface' error when deploying the app. Help me out, im a beginner.

02:58:26,187 ERROR [org.apache.catalina.core.StandardContext] Context [/jaw] startup failed due to previous errors: java.lang.RuntimeException: could not find <ejb-loc
al-ref>'s local interface InventoryFacadeLocal in web.xml of webapp.war

my xdoclet in the session bean InventoryFacadeBean:

ejb-jar.xml output

jboss.xml output

xdoclet code in

web.xml output

jboss-web.xml output

<ejb-local-ref>'s local interface InventoryFacadeLocal as ypu can see is in web.xml and after expanding webapp.war, I do see the web.xml and the code in webapp.war\WEB-INF

so whats missing or wrong here.

Thanks for your help

I agree. Here's the link:
subject: could not find <ejb-local-ref>'s local interface
Similar Threads
Error in deploying stateless session bean 2.1 on Jboss 5 GA
"jndi:ejb not bound" error while deploying EJB
Error looking up EJB
hibernate not bound error
InitialContext for EJB 2.x JNDI on Glassfish v2ur2 under Windows Vista