Hi, I am using Eclipse 2.1, JBoss 3.2.1 and Lomboz plugin. I was trying add a ejb finder method using @ejb.finder tag in the Bean class.. When i try to deploy the bean, it throws the following exception.
but when i looked at the ejb-jar.xml, it has the query tag with the method parameters and the ejb-ql. I don't understand y this exception is popping up. Any clues? this is wat i defined in the bean class.
For what its worth, I got this warning because the signature in the home interface did not match the EJB-QL signature. The container is complaining that it can't find the corresponding <query> element in the DD. John
I got the error too, due to the fact that my finder had a String argument. For the record, I'm using Eclipse 2.1.3 with Lomboz 2.1.3, and deploying on JBoss 3.2.3. The problem was the deployment descriptor, where the query element for my finder contained "<method-param>String</method-param>". Changing this to "<method-param>java.lang.String</method-param>" solved the problem. Hope this helps ! Joeri
Nijeesh, It looks like you're setting up your @ejb.finder correctly. Can you post the segment of your "query" in your deployment descriptor? I'm not sure why XDoclet would incorrectly render it in your deployment descriptors so they can't get matched up.