【问题标题】:Eclipse Kepler CORBA plugin will not compile IDL filesEclipse Kepler CORBA 插件不会编译 IDL 文件
【发布时间】:2013-10-31 14:19:10
【问题描述】:

我已将 CORBA 插件安装到 Eclipse 中。当我选择一个 IDL 文件并使用“CORBA/编译 CORBA 存根”菜单项时,由于“java.lang.NoClassDefFoundError: org/openorb/compiler/IdlCompiler”,我得到一个 Eclipse 错误日志条目“未处理的事件循环异常” net.sf.eclipsecorba.openorb.OpenORBCompiler.compile(OpenORBCompiler.java:30) 的异常

“org/openorb/compiler/IdlCompiler”类在 CLASSPATH 上的 OPENORB_Tools.jar 中。

如何获取 CORBA 插件及其 IDL 编译器来查找和使用此类?

【问题讨论】:

    标签: eclipse corba idl


    【解决方案1】:

    我在尝试编译我的 IDL 文件时遇到了类似的错误,我从命令行尝试了它:

    idlj -fall file.idl
    

    并收到关于两次声明函数的错误消息。

    dpss.idl (line 8):  createPlayerAccount has already been declared.
    

    一旦我修复了错误,我就可以在 eclipse 中编译 idl 而没有错误。

    【讨论】:

      猜你喜欢
      • 2013-09-26
      • 1970-01-01
      • 2013-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多