我使用Jbuilder8+Weblogic7SP1,测试JBuilder8自带的EJB的例子Esite遇到问题
Exception is :
Unable to deploy EJB: C:/JBuilder8/samples/Ejb/Ejb20/ESiteWL/esite.jar from esite.jar:
EJB : Cart .Unable to initialize method info for remote or home interface.The error is java.lang.NoClassDefFoundError: [Lcom/borland/dx/ejb/RowData;
at java.lang.Class.getDeclaredMethods0(Native Method)
但是,独立于JBuilder8,直接启动Webligic,且在Weblogic中deploy EJB成功。
不知是不是我用的JBuilder8是试用版的原因?
例外,Jbuilder7时遇到的问题仍然存在,如下:
Verifying esite on 2003年2月25日 下午08時37分34秒...
Verifying ejb module Untitled [role=developer]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=375,col=29]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=383,col=29]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=393,col=29]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=401,col=29]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=411,col=29]
#### Error: [Untitled,META-INF/ejb-borland.xml] The content of element type "cmr-field" is incomplete, it must match "(cmr-field-name,table-ref,property*)".[line=419,col=29]
#### Error: [Untitled] Entity Bean "Sequence"
Could not find a method called:
seqValueBeforeIncrementingBy(int)
7 errors, 0 warnings