---
title: "aptana插件安装问题"
author: "accphc"
date: "2014-06-04T18:27:11Z"
tags: []
categories: ["企业架构"]
slug: "aptana"
draft: false
lastmod: "2014-06-04T18:27:41Z"
id: 2075995
url: "https://hc24.iteye.com/blog/2075995"
---

1、安装使用link的方式，如果使用在线地址（http://download.aptana.com/studio3/plugin/install）无法安装，则下载完整安装包后将features和plugins拷贝到eclipse相应插件目录下。

 

2、完成后需要jquery提醒，按照网上的教程commands-&gt;bundle development-&gt;install bundle。控制台报了如下错误：

```
[2014-06-04 17:38:02] An error occurred while processing the invoke block for the command Install Bundle in D:\eclipse-jee-juno-SR2-win32-x86_64\eclipse\configuration\org.eclipse.osgi\bundles\1445\1\.cp\bundles\bundle-development.ruble\commands\install_bundle.rb: (TypeError) cannot convert instance of class org.jruby.java.proxies.ConcreteJavaProxy to interface org.eclipse.jface.viewers.IStructuredContentProvider
org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.java.proxies.ConcreteJavaProxy to interface org.eclipse.jface.viewers.IStructuredContentProvider
	at #<Class:0x15951ccf7>.request_item(D:/eclipse-jee-juno-SR2-win32-x86_64/eclipse/configuration/org.eclipse.osgi/bundles/1446/1/.cp/framework/ruble/ui.rb:153)
	at #<Class:0x11ed58507>.define_command(D:\eclipse-jee-juno-SR2-win32-x86_64\eclipse\configuration\org.eclipse.osgi\bundles\1445\1\.cp\bundles\bundle-development.ruble\commands\install_bundle.rb:46)
	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274)
	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233)
```

 我使用了如下方法进行解决：

1、首先使用安装版的aptana进行如上的操作，从git下载jquery提示所需要的文件。默认目录下载到：C:\\Users\\\[用户名]\\Aptana Rubles\\javascript-jquery.ruble。然后在重新启动eclipse。选中工程进行如下设置：![](http://dl2.iteye.com/upload/attachment/0085/2577/be19a835-9126-3faf-ab5e-60bf3d6d2da1.jpg)

 

 打开js文件，你会看到有jquery的提示了。