facebook

Error-Ejb specs violation

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253846 Reply

    In my TraderBean class I have a method
    public void aMethod() throws RemoteException

    In the generated remote class also I have this method (generated by xdoclet)
    public void aMethod() throws RemoteException

    But when I deploy this Ejb to jboss3.2.3 I got following error-
    EJB spec violation:
    Bean: TraderBean
    Method: public abstract void aMethod() throws RemoteException
    The methods defined in the remote interface must have a matching method in the bean’s class with the same name and same number and types of arguments.

    Now where this Abstract comes from?

    #254126

    Riyad Kalla
    Member

    What does your package layout look like? Are your EJBs being generated in a package that end with “.ejb”?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error-Ejb specs violation

You must be logged in to post in the forum log in