我在Installed jre中添加了Default VM参数
-javaagent:E:\eclipse-jee-juno-SR2-win32-x86_64\aws-java-sdk\aspectj-1.7.3.jar
来自here的后续指示
但仍然低于错误
Error occurred during initialization of VM
agent library failed to init: instrument
Failed to find Premain-Class manifest attribute in E:\eclipse-jee-juno-SR2-win32-x86_64\aws-java-sdk\aspectj-1.7.3.jar
1 回答
立即工作,我按照AWS提供的文件包含了路径here
需要将此路径更改为 aspectjweaver.jar 内部 aspectj-1.7.3\lib
现在,我的新路径是
现在正在工作
还包括 aspectj-1.7.3.jar
单击Project Properties .
单击 AspectJ Build ,然后单击 Aspect Path 选项卡 .
单击 Add External JARs .
Jar在位置