各位帮我看看这个问题啊,困扰我好久了,谢了

05-08-09 一剑封喉
我在做entity bean时,当我用到ql语句(SELECT OBJECT(p) FROM asd p)(asd is table name)后,用jbx编译总会出现如下错误,不知道为什么,请各位看看阿

"EJBModule1.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.

"EJBModule1.jar": Spaces in the classpath may cause WebLogic APPC utility to produce fatal compile errors.

"EJBModule1.jar": D:\bea\jdk141_03\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;F:\java\SQLserver Driver\msbase.jar;F:\java\SQLserver Driver\mssqlserver.jar;F:\java\SQLserver Driver\msutil.jar;" weblogic.appc -keepgenerated -forceGeneration -compiler D:/bea/jdk141_03/bin/javac "C:/Documents and Settings/Cuilin_Yang/jbproject/untitled1/EJBModule1.jar.jar" -output "C:/Documents and Settings/Cuilin_Yang/jbproject/untitled1/EJBModule1.jar"

"EJBModule1.jar": [J2EE:160121]Errors encountered while compiling module 'C:\Documents and Settings\Cuilin_Yang\jbproject\untitled1\EJBModule1.jar.jar':

"EJBModule1.jar": [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:

"EJBModule1.jar":

"EJBModule1.jar": Query:

"EJBModule1.jar": EJB Name: Asd

"EJBModule1.jar": Method Name: findAll

"EJBModule1.jar": Parameter Types: ()

"EJBModule1.jar": SELECT OBJECT(p ) FROM =>> asd <<= p

"EJBModule1.jar": EJB QL compilation encountered error: [EJB:013015]Could not find an entity EJB for abstract schema name, 'asd', 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.

"EJBModule1.jar": .

一剑封喉
2005-08-10 13:24
搞定 结帖

猜你喜欢