JacobB在_stub上发送错误,无法找到类

时间:2013-07-15 22:29:01

标签: java jacorb

我正在尝试使用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中。 有人可以帮帮我吗? 谢谢!

1 个答案:

答案 0 :(得分:0)

请注意JacorB官方邮件列表在这里:http://www.jacorb.org/contact.html

请您详细说明您的版本,编译方式,编译内容等。