[jboss-user] [EJB 3.0] - org.jboss.ejb3.ProxyFactoryHelper log improvement

Ajaleo do-not-reply at jboss.com
Mon Aug 7 06:25:58 EDT 2006


Hi!

I've been getting the following error message in my deploy (EJB 3.0 RC8)

"bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface" (Line 105)

This message is thrown by org.jboss.ejb3.ProxyFactoryHelper and isn't very informative. It could be interesting to print the bean that produces the error. Some lines above there are other 2 error messages that have the same problem too:


  | if (list.size() == 0)
  |             throw new RuntimeException("Use of empty @Local on bean class and there are no valid business interfaces");
  |          if (list.size() > 1)
  |             throw new RuntimeException("Use of empty @Local on bean class and there are more than one default interface");
  | 


Thanks a lot for your job

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

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



More information about the jboss-user mailing list