[jboss-user] [EJB 3.0] - EAR deploy fails in JBoss 4.2

chandra_88 do-not-reply at jboss.com
Tue Feb 19 05:37:08 EST 2008


Hi 

I have a ear with a ejb and a util jar. The util jar contains classes the session bean interface has an parameter which is referenced from the util jar . When i deploy the ejb it complains that it is not able to find the class that was referenced from the jar. 

EAR 

  lib 
      util.jar
           - TestParam
  meta-inf
       jboss-app.xml
       application.xml

  ejbjar 
       Session Bean
      meta-inf
            ejb-jar.xml


Session Bean
============
package myTransTest;
import javax.ejb.Remote;
@Remote
public interface ITest{
	 void addPerson(PersonParam personParam);
	 
	 }

The PersonParam is being refenced from the util.jar . 

On deploying am getting a classcast exception saying myUtil.PersonParam not found. 



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

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



More information about the jboss-user mailing list