IBM Rational Application Developer上的Lombok安装失败

时间:2018-03-06 14:03:47

标签: eclipse lombok ibm-rad

我尝试在IBM Rational Application Developer上安装Lombok,但我没有成功。我已经完成了基于eclipse的IDE所需的所有步骤,但IDE无法正确启动。如果我删除了从eclipse.ini引用lombok的-javaagent参数,它将重新启动IDE,但是lombok将无法进行开发。

我在.metadata文件夹中的.log文件中有以下异常:

!ENTRY org.eclipse.osgi 4 0 2018-03-06 15:59:10.026
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: lombok.launch.PatchFixesHider$LombokDeps
    at org.eclipse.core.internal.runtime.Product.addLombokNotesToEclipseAboutDialog(Product.java:151)
    at org.eclipse.core.internal.runtime.Product.getProperty(Product.java:44)
    at org.eclipse.ui.internal.ProductProperties.getAppName(ProductProperties.java:239)
    at org.eclipse.ui.internal.ProductInfo.getAppName(ProductInfo.java:66)
    at org.eclipse.ui.internal.WorkbenchPlugin.getAppName(WorkbenchPlugin.java:1038)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:655)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:619)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.ClassNotFoundException: lombok.launch.PatchFixesHider$LombokDeps
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:707)
    ... 22 more

我已经阅读了stackoverflow / github的所有建议,但没有任何效果。我会很感激任何想法:)

谢谢:)

1 个答案:

答案 0 :(得分:0)

如果我正确读取了堆栈跟踪,则代码会失败,而Lombok会尝试修补信息屏幕以显示正确安装了Lombok。看来RAD在这里不包含相同的代码。

register a bug report

披露:我是龙目岛的开发者。