日期:2014-05-18  浏览次数:20741 次

[求助] 用JBuilder2005和weblogic8.1添加实体bean的finder方法报错
我添加的查询语句为   Select   Object     (c)     from   studentdetail   as   c
请高手帮忙

"StudentsInformationModule.jar ":   Spaces   in   the   temporary   directory   path   may   cause   WebLogic   APPC   utility   to   produce   fatal   compile   errors.
"StudentsInformationModule.jar ":   D:\bea\jdk141_05\bin\javaw   -classpath   "D:\bea\weblogic81\server\lib\weblogic_sp.jar;D:\bea\weblogic81\server\lib\weblogic.jar;D:\bea\weblogic81\server\lib\webservices.jar; "     weblogic.appc   -keepgenerated   -forceGeneration   -compiler   D:/bea/jdk141_05/bin/javac   F:/EJBPractice/liuhua3/StudentDetailSystem/StudentsInformationModule.jar.jar   -output   F:/EJBPractice/liuhua3/StudentDetailSystem/StudentsInformationModule.jar

"StudentsInformationModule.jar ":   [J2EE:160119]Appc   is   unable   to   process   the   file   'F:\EJBPractice\liuhua3\StudentDetailSystem\StudentsInformationModule.jar.jar '.   The   following   error   occurred:
"StudentsInformationModule.jar ":   [EJB:011017]Error   while   reading   'META-INF/weblogic-cmp-rdbms-jar.xml '.   The   error   was:
"StudentsInformationModule.jar ":    
"StudentsInformationModule.jar ":   Query:
"StudentsInformationModule.jar ":   EJB   Name:                 Studentdetail
"StudentsInformationModule.jar ":   Method   Name:           findFindAllStudent
"StudentsInformationModule.jar ":   Parameter   Types:   ()
"StudentsInformationModule.jar ":  
"StudentsInformationModule.jar ":           Select   Object(c   )   from       => >   studentdetail   < <=     as   c  
"StudentsInformationModule.jar ":   EJB   QL   compilation   encountered   error:   [EJB:013015]Could   not   find   an   entity   EJB   for   abstract   schema   name,   'studentdetail ',   which   is   declared   in   a   range   variable   declaration.   Verify   that   an   EJB   is   defined   in   the   ejb-jar.xml   descriptor   with   this   abstract   schema   name.
"StudentsInformationModule.jar ":   .
"StudentsInformationModule.jar ":   at   weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:255)
"StudentsInformationModule.jar ":   at   weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
"StudentsInformationModule.jar ":   at   weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
"StudentsInformationModule.jar ":   at   weblogic.appc.compileEJB(appc.java:802)
"StudentsInformationModule.jar ":   at   weblogic.appc.compileEJB(appc.java:776)
"StudentsInformationModule.jar ":   at   weblogic.appc.compileInput(appc.java:463)
"StudentsInformationModule.jar ":   at   weblogic.appc.runBody(appc.java:184)
"StudentsInformationModule.jar ":   at   weblogic.utils.compiler.Tool.run(Tool.java:146)
"Stude