读书人

[] 用JBuilder2005和weblogic8.1添加

发布时间: 2012-02-16 21:30:36 作者: rapoo

[求助] 用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)


"StudentsInformationModule.jar ": at weblogic.appc.main(appc.java:1028)
"StudentsInformationModule.jar ": weblogic.ejb20.WLDeploymentException: [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.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:526)
"StudentsInformationModule.jar ": at weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.java:414)
"StudentsInformationModule.jar ": at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:110)
"StudentsInformationModule.jar ": at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:64)
"StudentsInformationModule.jar ": at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:245)
"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)
"StudentsInformationModule.jar ": at weblogic.appc.main(appc.java:1028)
"StudentsInformationModule.jar ": --------------- nested within: ------------------
"StudentsInformationModule.jar ": weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered while compiling module 'F:\EJBPractice\liuhua3\StudentDetailSystem\StudentsInformationModule.jar.jar ':
"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 ": - with nested exception:
"StudentsInformationModule.jar ": [
"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 ": ]
"StudentsInformationModule.jar ": at weblogic.appc.compileEJB(appc.java:781)
"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)
"StudentsInformationModule.jar ": at weblogic.appc.main(appc.java:1028)
"StudentsInformationModule.jar ": WebLogic APPC tool invocation errors.



[解决办法]
project的临时路径里的目录名有没有空格?
工程文件所放路径不要有空格

读书人网 >Java Web开发

热点推荐