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

 

 

 

二、项目搭建

未完待续... 

相关文章

作为一名初次使用MaxCompute的用户,我体会颇深。MaxCompute...
近日,CloudToolkit正式推出了面向IntelliJ和Eclipse两个平台...
PyCharm是一种PythonIDE,带有一整套可以帮助用户在使用Pyth...
标题: 【下载】APK可视化修改工具:APK改之理(APKIDE)作者...
背景描述有时候Python应用的代码在本地开发环境运行十分正常...
1.注册SAP账号登录SAP官网:https://www.sap.com/index.html...