編譯實體Bean出現如下錯誤.....

mengzhihai發表於2003-06-10
"Demo2.ejbgrpx": Spaces in the classpath may cause WebLogic EJBC utility to produce fatal compile errors.
"Demo2.ejbgrpx": C:\JBuilder9\jdk1.4\bin\javaw -classpath "C:\bea\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;" weblogic.ejbc -keepgenerated -compiler C:/JBuilder9/jdk1.4/bin/javac E:/jbproject/Demo2/Demo2.jar.jar E:/jbproject/Demo2/Demo2.jar
"Demo2.ejbgrpx": ERROR: ejbc found errors while parsing the descriptor for E:/jbproject/Demo2/Demo2.jar.jar:
"Demo2.ejbgrpx": ERROR: Error from ejbc: Error parsing 'ejb-jar.xml' line 12: The content of element type "entity" must match "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-name?,cmp-field*,primkey-field?,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*,query*)".
"Demo2.ejbgrpx": ERROR: ejbc found errors

相關文章