liferay-portal-6.2 create liferay portlet plugins project build failed
来源:互联网 发布:小米机器人编程 编辑:程序博客网 时间:2024/05/23 12:24
1.按照上一篇文章的步骤create liferay portlet plugins project.
eclipse console 报错:
BUILD FAILED
.../liferay-plugins-sdk-6.2.0/layouttpl\build.xml:5: The following error occurred while executing this line:
.../liferay-plugins-sdk-6.2.0/liferay-plugins-sdk-6.2.0\build-common-plugins.xml:5: The following error occurred while executing this line:
.../liferay-plugins-sdk-6.2.0/liferay-plugins-sdk-6.2.0\build-common.xml:47: The following error occurred while executing this line:
.../liferay-plugins-sdk-6.2.0/liferay-plugins-sdk-6.2.0\build-common-ivy.xml:17: java.net.ConnectException: Connection timed out: connect
是一个连接超时的错误,估计是代理的问题。公司访问外网用的是代理,所以需要修改build-common-ivy.xml设置代理:
cd /usr/local/liferay-plugins-sdk-6.2
sudo vi build-common-ivy.xml
第61行下面添加代理:
<if>
<not>
<available file="${ivy.home}/ivy-${ivy.version}.jar" />
</not>
<then>
<mkdir dir="${ivy.home}" />
<setproxy proxyhost="172.26.100.238" proxyport="64000" proxyUser="steven_xu" proxyPassword="Newuser03"/>
<get
dest="${ivy.home}/ivy-${ivy.version}.jar"
src="${ivy.jar.url}"
/>
</then>
</if>
- liferay-portal-6.2 create liferay portlet plugins project build failed
- Customize Liferay SDK plugins(portlet) to Maven project
- liferay-portal中卸载portlet
- Liferay Portal CE 6.2 Portlet 配置(Configuration) 开发
- Liferay portal(三)新建Portlet
- How to create scheduler in liferay portlet
- liferay portal
- Portal开源实现-Liferay的Portlet Session处理(1)
- Portal开源实现-Liferay的Portlet Session处理(2)
- Portal开源实现-Liferay的Portlet Session处理(3)
- Portal开源实现-Liferay的Portlet Session处理(1)
- Portal开源实现-Liferay的Portlet Session处理(2)
- Portal开源实现-Liferay的Portlet Session处理(3)
- Portal开源实现-Liferay的Portlet Session处理
- 深入liferay portal核心之一 portlet扩展分析
- 【Liferay Portal指南四】——JSP Portlet开发
- 【Liferay Portal指南五】——Struts Portlet开发
- 【Liferay Portal指南六】——Configuration Portlet开发
- 设置阴影
- iOS 仿照微信发送地理位置功能 [百度地图]
- Region和Rect的一点比较
- 使用路径(1)Quartz 2D
- 机器学习——深度学习(Deep Learning)
- liferay-portal-6.2 create liferay portlet plugins project build failed
- Linux系统中使用shell判断磁盘是否格式化的方法
- Quartz 2D 使用路径(2)
- vi大小写转换
- listview加载性能优化ViewHolder
- Markdown个人笔记
- Java基础(极客)——08、Java类方法详解
- Windows下Laravel5 路由问题 /home及其它页面无法访问 ()
- 使用路径(3)Quartz 2D