EJB Finder方法编译出错,请教!!!

zion2008
03-06-20 1 206

在cmp bean中增加finder方法编译出错:
"Demo1.ejbgrpx": invalid query: In EJB Info, for a query defined in the ejb-jar.xml file with a method signature, findMethod1(), we failed to find a corresponding method in the remote home interface, local home interface, or bean class that matches this signature. Note that class parameters such as java.lang.String must be fully qualified, thus 'String' would not match 'java.lang.String'.

bad_bird
2003-06-23 11:34

检查你的ejb-jar.xml文件,看看配置是否正确;
同时检查你的remote接口程序,看是不是未有该方法的远程接口