[jboss-user] [EJB/JBoss] - Problem deploying EJB

sheadington do-not-reply at jboss.com
Wed Apr 23 17:55:41 EDT 2008


Hi All

I have a JBoss 3.2.3 server and I have written a simple stateless session bean that is calling a remote session bean on another server.  Seems simple enough so far...

But my problem is a NoClassDefFoundError when I deploy the EAR file.

14:34:41,827 WARN  [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: com/test/ejb/IAppointmentBean
	at java.lang.Class.getDeclaredMethods0(Native Method)

(I truncated for brevity)

Here is my simple ear file

jbtest.ear
--JbossTest.jar (the local EJB)
--appt_client.jar (the remote interface of the remote EJB)
--META-INF/application.xml

and the contents of the application.xml

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
  <display-name>Jbtest</display-name>
  
    JbossTest.jar
  
  
    appt_client.jar
  



Can someone please tell me what I've done wrong here?  I dont understand why my local EJB cannot find com/test/ejb/IAppointmentBean which is in the appt_client.jar file.

Thanks in advance
s

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146353#4146353

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146353



More information about the jboss-user mailing list