微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

liferay7.3.5开发学习二- 安装基于Eclipse

一、环境准备

1、安装JDK1.8

2、liferay运行环境

   liferay-ce-portal-tomcat-7.3.5-ga6-20200930172312275.7z

   下载地址:https://www.liferay.com/zh/downloads-community

 

3、liferay在eclipse上的运行插件

   liferay-ide-updatesite-3.9.1-ga2-202012220519.zip

     下载地址:https://github.com/liferay/liferay-ide/releases/download/3.9.1-ga2/liferay-ide-updatesite-3.9.1-ga2-202012220519.zip

Install Liferay IDE

Latest stable release: 3.9.1 (December 2020)

Supports Eclipse 4.8.0 or greater and Liferay Portal 7.0 and greater.

 

Using an Update site

  1. From the Help menu select Install New Software...
  2. Paste the following URL into this field: https://releases.liferay.com/tools/ide/latest/stable/

  

注意:以上地址国内下载很慢,可以试试github镜像站

          https://hub.fastgit.org/liferay

          https://github.com.cnpmjs.org/

 

安装完毕,重启eclipse!

点击 File->New->Other 会出现liferay项目的创建,如下图:

 

 

 

 4、liferay初始化

 4.1 新建liferay server,如下图:

 

 4.2 Liferay, Inc.->Liferay 7.x

 

 

 

 

  4.3 选择下载好的liferay运行环境的解压文件(即之前下载的liferay-ce-portal-tomcat-7.3.5-ga6-20200930172312275.7z),我这里解压到了E:\liferay\portal目录下

 

 

 

 

 4.4 点击Finish,如下图:

 4.5 右键liferay服务器,选择debug,启动liferay server:

 

 

 控制台输出成功消息:

 

 

 4.6 在浏览器地址栏输入http://localhost:8080,出现如下界面

 

 4.7 修改语言与时区

 

  4.8 修改MysqL数据库(我这里用的是MysqL 5.7)

 

 4.9 点击“完成配置”,出现如下提示

 

 5.0 重启liferay server

 

 

 

 再次访问http://localhost:8080

 

 

 

二、项目搭建

未完待续... 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐