简体   繁体   English

适用于Eclipse的HSQLDB插件

[英]HSQLDB Plug-In for Eclipse

I want to add the eclipse plugin for HSQLdb. 我想为HSQLdb添加eclipse插件。 I followed the instructions given here: hsqldb plugin for eclipse 我按照此处给出的说明进行操作: eclipse的hsqldb插件

Got the same problem: "ERROR: 遇到相同的问题:“错误:

Cannot add HSQLDb Engine nature: org.eclipse.ui.internal.WorkbenchWindow can not be cast to org.eclipse.jface.window.ApplicationWindow" 无法添加HSQLDb Engine性质:org.eclipse.ui.internal.WorkbenchWindow无法转换为org.eclipse.jface.window.ApplicationWindow”

The proposed solution was to import newer version from Eclipse market place: "There's a newer version here: 提议的解决方案是从Eclipse市场导入较新的版本:“这里有较新的版本:

http://marketplace.eclipse.org/node/309316#.UG06fK44J6Y " http://marketplace.eclipse.org/node/309316#.UG06fK44J6Y

Unfortunately, that did not work for me. 不幸的是,这对我没有用。 What have might gone wrong? 可能出了什么问题?

The Marketplace version you reference says it is compatible with Eclipse 3.* so it should work with Eclipse 3.8 and earlier. 您引用的Marketplace版本说它与Eclipse 3. *兼容,因此它应与Eclipse 3.8及更早版本一起使用。

The error you are getting appears to be because the code is relying on internal Eclipse classes which have been changed in Eclipse 4.x (specifically org.eclipse.ui.internal.WorkbenchWindow which no longer extends org.eclipse.jface.window.ApplicationWindow ). 您收到的错误似乎是因为代码依赖于内部Eclipse类,该类已在Eclipse 4.x中进行了更改(特别是org.eclipse.ui.internal.WorkbenchWindoworg.eclipse.jface.window.ApplicationWindow不再扩展org.eclipse.jface.window.ApplicationWindow )。 This can only be resolved by rewriting the HSQLdb plugin. 这只能通过重写HSQLdb插件来解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM