play框架寫的項目,在eclipse中導入。build-path中全部jar包都加入。執行程序,出現:
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : D:\play-1.2.5/framework/play-1.2.5.jar
解決的方法:
在eclipse項目文件夾中。eclipse文件夾下 “項目名.launch”,中搜索“D:\play-1.2.5/framework/play-1.2.5.jar”。將搜索到的位置改為當前所配置環境中的“play-1.2.5.jar”的路徑,就可以。
這是我的解決的方法,不喜勿噴。