Hi, Guys,
I am new to
EJB world.
I am using jBoss-2.2.2.
I have a EJB jar file in the structure: -
META-INF\
ejb-jar.xml
productMg\
Product.class
ProductHome.class
ProductBean.class
I dropped this jar file in the "deploy" directory of
jBoss. Then I want to run the client: >
java productMg.Client
However, I got the error says:
Exception in
thread "main" java.lang.NoClassDefFoundError: org\jboss\security\SecurityAssociation.
Looks it is caused by home.create().
Why is that? How to fix it?
Thanks in advance.
Florence