编译java类

时间:2014-05-27 19:40:29

标签: java jacorb

我正在尝试编译这个java类_MyServerStub.java但我收到此错误

cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) 
                                                          ^
stock/_MyServerStub.java:83: cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                    ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
                                            ^
stock/_MyServerStub.java:88: cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) 
                                                          ^
stock/_MyServerStub.java:89: cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                    ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
                                            ^
stock/_MyServerStub.java:94: cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) 
                                                          ^
stock/_MyServerStub.java:95: cannot find symbol
symbol  : class ServantObjectExt
location: package org.omg.CORBA.portable
                    ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
                                            ^
6 errors

_MyServerStub.java是来自jacORB的生成存根,因此代码没有错误。

0 个答案:

没有答案