錯誤消息:java
roo> addon list
No add-ons known. Are you online? Try the 'download status' commandspring
須要用Spring Roo ,可是不能安裝addon,解決辦法以下dom
roo>proxy configurationide
1. 查看是否培訓JDK的代理
url
配置辦法:spa
找到jdk的lib下面的net.properties.net
修改以下:代理
java.net.useSystemProxies=true #------------------------------------------------------------------------ # Proxy configuration for the various protocol handlers. # DO NOT uncomment these lines if you have set java.net.useSystemProxies # to true as the protocol specific properties will take precedence over # system settings. #------------------------------------------------------------------------ # HTTP Proxy settings. proxyHost is the name of the proxy server # (e.g. proxy.mydomain.com), proxyPort is the port number to use (default # value is 80) and nonProxyHosts is a '|' separated list of hostnames which # should be accessed directly, ignoring the proxy server (default value is # localhost & 127.0.0.1). # http.proxyHost=proxy.mydomain.com http.proxyPort=8080 http.nonProxyHosts=localhost|127.0.0.1
2.在ROO執行命令:code
osgi obr url add --url http://spring-roo-repository.springsource.org/repository.xmlserver
osgi obr deploy --bundleSymbolicName org.springframework.roo.addon.cloud.foundry