【问题标题】:Issues debugging Errai app in Eclipse在 Eclipse 中调试 Errai 应用程序的问题
【发布时间】:2012-08-09 08:09:07
【问题描述】:

在 Eclipse 中调试 Errai 应用程序时,我收到以下错误。

   [WARN] failed com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload@1575d48{/,/home/matthew/git/PressGangCCMSUI/src/main/webapp}: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext
   [WARN] failed RequestLogHandler@ad4bb0: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext
   [WARN] Error starting handlers
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/context/FacesContext

有谁知道如何解决这个问题?

【问题讨论】:

    标签: eclipse errai


    【解决方案1】:

    原来问题是因为 Eclipse 使用本地 Maven 项目作为依赖项,而不是本地 repo 缓存中的 JAR 文件。一旦我关闭了我的 Errai 应用程序所依赖的项目,Eclipse 就会恢复使用本地 repo 缓存中的 JAR,我可以再次启动调试器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-22
      • 2010-09-10
      • 2010-12-05
      • 1970-01-01
      • 2013-11-21
      • 2012-08-17
      • 2013-02-20
      相关资源
      最近更新 更多