2

我想在 Eclipse JUNO 中配置弹簧加载。我已经下载了spring-loaded.jar ,放到eclipse.exe所在的eclipse目录下。

我打开了码头build.xml文件并将以下内容添加到目标中。

<jvmarg value="-javaagent:D:/eclipse/springloaded-1.2.0.RELEASE.jar"/>

现在,弹簧加载甚至扫描我不想要的预定义库(包含在我的项目中的 jar 文件),因为我没有对它们进行任何更改。所以,我需要传递一个参数来只扫描我项目的自定义文件夹。我怎么能那样做?

当我简单地包含上述行时,我收到以下错误。

[artifact:mvn] constituent[0]: file:/D:/maven/lib/aether-api-0.9.0.M2.jar
[artifact:mvn] Exception in thread "main" java.lang.VerifyError: (class: org/eclipse/aether/util/repository/DefaultProxySelector, method: getProxy signature: (Lorg/eclipse/aether/repository/RemoteRepository;)Lorg/eclipse/aether/repository/Proxy;) Illegal use of nonvirtual function call
4

1 回答 1

-1

在值的末尾添加“-noverify”选项(有些添加“-Dverify:none”)

于 2015-01-31T20:12:03.197 回答