我正在尝试使 JacORB 示例正常工作,但是在编译客户端时出现这些错误...
_MessageStub.java:81: error: cannot find symbol
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
_MessageStub.java:82: error: cannot find symbol
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
_MessageStub.java:87: error: cannot find symbol
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
_MessageStub.java:88: error: cannot find symbol
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
_MessageStub.java:93: error: cannot find symbol
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
_MessageStub.java:94: error: cannot find symbol
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
^
symbol: class ServantObjectExt
location: package org.omg.CORBA.portable
6 errors
似乎我错过了一些 JacORB jar 文件,但我已经将所有 jar 放在 CLASSPATH 中。有人可以帮助我吗?谢谢!