0

我似乎再也无法在 Eclipse 上启动我的 gae 开发环境了。一旦我启动它,它就会进入调试视图,其中找不到具有非法参数异常的 PolicyUtil.getKeyStore 的源。有没有其他人有这个问题?我试过删除我的运行配置,但没有运气。

任何帮助深表感谢。这是堆栈跟踪:

{Daemon Thread [Thread-1] (Suspended (exception IllegalArgumentException))  
    PolicyUtil.getKeyStore(URL, String, String, String, String, Debug) line: 65 
    PolicyFile.init(URL, PolicyFile$PolicyInfo) line: 635   
    PolicyFile.access$400(PolicyFile, URL, PolicyFile$PolicyInfo) line: 266 
    PolicyFile$3.run() line: 546    
    AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]  
    PolicyFile.initPolicyFile(String, String, PolicyFile$PolicyInfo) line: 519  
    PolicyFile.initPolicyFile(PolicyFile$PolicyInfo, URL) line: 505 
    PolicyFile.init(URL) line: 464  
    PolicyFile.<init>() line: 309   
    NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method]   
    NativeConstructorAccessorImpl.newInstance(Object[]) line: 39    
    DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27    
    Constructor<T>.newInstance(Object...) line: 513 
    Class<T>.newInstance0() line: 355   
    Class<T>.newInstance() line: 308    
    Policy.getPolicyNoCheck() line: 167 
    ProtectionDomain.implies(Permission) line: 224  
    AccessControlContext.checkPermission(Permission) line: 352  
    AccessController.checkPermission(Permission) line: 546  
    SecurityManager.checkPermission(Permission) line: 532   
    Policy.getPolicy() line: 133    
    SecurityManagerInstaller.install(URL...) line: 81   
    DevAppServerFactory.createDevAppServer(File, File, File, String, int, boolean, boolean, Map<String,Object>) line: 136   
    DevAppServerFactory.createDevAppServer(File, File, File, String, int, boolean) line: 78 
    DevAppServerFactory.createDevAppServer(File, String, int) line: 52  
    DevAppServerMain$StartAction.apply() line: 175  
    Parser$ParseResult.applyArgs() line: 48 
    DevAppServerMain.<init>(String[]) line: 128 
    DevAppServerMain.main(String[]) line: 104}

我继续下载了最新的 GAE 和 eclipse 插件,希望能修复它,但没有运气。

问候,约翰

4

1 回答 1

0

已修复 - 我的工作区已损坏。我创建了一个新的工作区文件夹,并且必须导入我的项目和设置。

于 2012-06-05T16:07:32.963 回答