File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!