• <i id='xkg3b'><tr id='xkg3b'><dt id='xkg3b'><q id='xkg3b'><span id='xkg3b'><b id='xkg3b'><form id='xkg3b'><ins id='xkg3b'></ins><ul id='xkg3b'></ul><sub id='xkg3b'></sub></form><legend id='xkg3b'></legend><bdo id='xkg3b'><pre id='xkg3b'><center id='xkg3b'></center></pre></bdo></b><th id='xkg3b'></th></span></q></dt></tr></i><div id='xkg3b'><tfoot id='xkg3b'></tfoot><dl id='xkg3b'><fieldset id='xkg3b'></fieldset></dl></div>
    <tfoot id='xkg3b'></tfoot>

      <small id='xkg3b'></small><noframes id='xkg3b'>

      <legend id='xkg3b'><style id='xkg3b'><dir id='xkg3b'><q id='xkg3b'></q></dir></style></legend>
        • <bdo id='xkg3b'></bdo><ul id='xkg3b'></ul>

      1. 从插件调用代码时出现问题:“org.eclipse.jface"使用 Checkstyle 插件时

        Problems occurred when invoking code from plug-in: quot;org.eclipse.jfacequot; when using Checkstyle Plugin(从插件调用代码时出现问题:“org.eclipse.jface使用 Checkstyle 插件时)

          <legend id='L48dH'><style id='L48dH'><dir id='L48dH'><q id='L48dH'></q></dir></style></legend>

          <i id='L48dH'><tr id='L48dH'><dt id='L48dH'><q id='L48dH'><span id='L48dH'><b id='L48dH'><form id='L48dH'><ins id='L48dH'></ins><ul id='L48dH'></ul><sub id='L48dH'></sub></form><legend id='L48dH'></legend><bdo id='L48dH'><pre id='L48dH'><center id='L48dH'></center></pre></bdo></b><th id='L48dH'></th></span></q></dt></tr></i><div id='L48dH'><tfoot id='L48dH'></tfoot><dl id='L48dH'><fieldset id='L48dH'></fieldset></dl></div>

            <small id='L48dH'></small><noframes id='L48dH'>

              • <bdo id='L48dH'></bdo><ul id='L48dH'></ul>
                  <tbody id='L48dH'></tbody>
                <tfoot id='L48dH'></tfoot>

                  本文介绍了从插件调用代码时出现问题:“org.eclipse.jface"使用 Checkstyle 插件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试在 Rational Software Architect 7.0.0.4 上使用 eclipse-cs 插件.

                  I am trying to use the eclipse-cs plugin on Rational Software Architect 7.0.0.4.

                  我最近卸载了旧的 beta2 版本并安装了 beta3.插件本身按照之前的配置工作.但是每当我尝试通过 Windows->Preferences->Checkstyle 重新配置检查规则时,我都会收到以下错误:

                  I recently uninstalled the older beta2 version and installed beta3. The plug-in itself works as was previously configured. But whenever I attempt to re-configure the check rules via Windows->Preferences->Checkstyle, I get the following error:

                  从插件调用代码时出现问题:org.eclipse.jface".

                  Problems occurred when invoking code from plug-in: "org.eclipse.jface".

                  当我单击配置按钮并尝试在 UI 上重新配置特定的选定检查规则时会发生这种情况.

                  This occurs when I click the configure button and attempt to reconfigure a specific selected check rule on the UI.

                  以前有没有人遇到过这个问题,如何解决?

                  Has anyone ever encountered this issue before and how can it be fixed?

                  完整的错误列表和堆栈跟踪如下所示:

                  The full error listing and stack trace is shown below:

                  Stack trace:
                  java.lang.NoSuchMethodError: org/eclipse/swt/widgets/Text.setMessage(Ljava/lang/String;)V
                  at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createAdvancedSection(Unknown Source)
                  at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createDialogArea(Unknown Source)
                  at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(Unknown Source)
                  at org.eclipse.jface.window.Window.create(Unknown Source)
                  at org.eclipse.jface.dialogs.Dialog.create(Unknown Source)
                  at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.create(Unknown Source)
                  at org.eclipse.jface.window.Window.open(Unknown Source)
                  at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.openModule(Unknown Source)
                  at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.doubleClick(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer$1.run(Unknown Source)
                  at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
                  at org.eclipse.core.runtime.Platform.run(Unknown Source)
                  at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
                  at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy.access$0(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
                  at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
                  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
                  at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
                  at org.eclipse.jface.window.Window.open(Unknown Source)
                  at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.configureCheckConfig(Unknown Source)
                  at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.access$6(Unknown Source)
                  at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor$PageController.doubleClick(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer$1.run(Unknown Source)
                  at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
                  at org.eclipse.core.runtime.Platform.run(Unknown Source)
                  at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
                  at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Unknown Source)
                  at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy.access$0(Unknown Source)
                  at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
                  at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
                  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
                  at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
                  at org.eclipse.jface.window.Window.open(Unknown Source)
                  at org.eclipse.ui.internal.OpenPreferencesAction.run(Unknown Source)
                  at org.eclipse.jface.action.Action.runWithEvent(Unknown Source)
                  at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
                  at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
                  at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
                  at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
                  at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
                  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
                  at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
                  at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
                  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
                  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
                  at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
                  at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
                  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
                  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
                  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
                  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
                  at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
                  at org.eclipse.core.launcher.Main.run(Unknown Source)
                  at org.eclipse.core.launcher.Main.main(Unknown Source)
                  

                  还有会话数据:

                  Session Data:
                  eclipse.buildId=unknown
                  java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20070323 (JIT enabled)
                  J9VM - 20070322_12058_lHdSMR
                  JIT  - 20070109_1805ifx3_r8
                  GC   - WASIFIX_2007
                  BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
                  Framework arguments:  -product com.ibm.rational.rsa.product.ide
                  Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ibm.rational.rsa.product.ide
                  

                  推荐答案

                  尝试使用 -clean 选项从控制台/终端启动 Eclipse.

                  Try so start Eclipse from the console/terminal with the -clean option.

                  在 Windows 上:

                  On Windows:

                  Eclipse.exe -clean
                  

                  在 *nix 上:

                  ./eclipse -clean
                  

                  或者如果 Eclipse 在你的 PATH 中

                  or if Eclipse is in your PATH

                  eclipse -clean
                  

                  这将清除您的插件缓存,也许它可以解决问题.

                  This will clear your plug-ins cache, maybe it solves the issue.

                  这篇关于从插件调用代码时出现问题:“org.eclipse.jface"使用 Checkstyle 插件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                • <small id='qDRzu'></small><noframes id='qDRzu'>

                    <bdo id='qDRzu'></bdo><ul id='qDRzu'></ul>
                      <tbody id='qDRzu'></tbody>
                    <legend id='qDRzu'><style id='qDRzu'><dir id='qDRzu'><q id='qDRzu'></q></dir></style></legend>
                  • <tfoot id='qDRzu'></tfoot>

                        • <i id='qDRzu'><tr id='qDRzu'><dt id='qDRzu'><q id='qDRzu'><span id='qDRzu'><b id='qDRzu'><form id='qDRzu'><ins id='qDRzu'></ins><ul id='qDRzu'></ul><sub id='qDRzu'></sub></form><legend id='qDRzu'></legend><bdo id='qDRzu'><pre id='qDRzu'><center id='qDRzu'></center></pre></bdo></b><th id='qDRzu'></th></span></q></dt></tr></i><div id='qDRzu'><tfoot id='qDRzu'></tfoot><dl id='qDRzu'><fieldset id='qDRzu'></fieldset></dl></div>