当前位置: 代码迷 >> Java Web开发 >> [] 用JBuilder2005和weblogic8.1添加实体bean的finder方法报错
  详细解决方案

[] 用JBuilder2005和weblogic8.1添加实体bean的finder方法报错

热度:57   发布时间:2016-04-17 15:48:01.0
[求助] 用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)
"StudentsInformationModule.jar ":   at   weblogic.utils.compiler.Tool.run(Tool.java:103)
  相关解决方案