Hello all, 
i am trying to delevop a small stateful bean, but i think there is something 
wrong during deployment 

here is what i did : 

The interface Test.java :

  | packckage ejb1;
  | import javax.ejb.*;
  | 
  | @Remote
  | public interface Test 
  | {
  |     public void klick();
  |     public int zeigeAnzahl();       
  | }
  | 
  | 

and here the bean Testbean : 

  | package ejb1;
  | import javax.ejb.*;
  | @Stateful
  | @Local (Test.class)
  | 
  | public class TestBean implements Test
  | {
  |     private int anzahlKlicks = 0;
  |     public void klick()
  |     {
  |             anzahlKlicks++;
  |     }
  |     public int zeigeAnzahl()
  |     {
  |             return anzahlKlicks;
  |     }
  | }
  | 

Later i want to use the bean in a simple servlet. 
When i deploy the bean, i alway get an "No ClassLoaders found for: 
ejb1.TestBean" Error 

my jar (ejbtest.jar) has the following stucture:

WEB-INF/
              web.xml
             classes/ejb1/
                                Test.class
                                TestBean.class
                                EjbTestServlet.class

Thanks for your help 
             



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972086
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to