OFBiz 17 部署启动指南

2020-06-17 10:24
7679
31924

1、OFBiz下载地址官方链接:https://ofbiz.apache.org/index.html

2、下载好后解压缩,数据库配置、mysql驱动的jar包放置,网上一堆教程,不再累述。

3、环境及启动

  1. Windows电脑安装好gradle。
  2. 执行脚本init-gradle-wrapper.bat,初始化gradle。
  3. 在apache-ofbiz-17.12.01\gradle\wrapper\gradle-wrapper.properties中将gradle版本改为系统对应的版本。 
  4. 执行gradlew.bat脚本,下载项目所需依赖。
  5. 运行gradlew cleanAll loadAll导入数据。
  6. 运行gradlew ofbiz启动项目。
  7. 停止gradlew ofbiz --shutdown项目。(这个我另起一个控制台,执行该命令,没有效果,还是直接ctrl + C吧)。

4、项目启动后:

  1. 项目启动成功后进度不是100%,而是91%。如下图:

5、登录及访问路径:

  1. 账户及密码:admin/ofbiz
  2. 登陆进入订单管理界面:https://localhost:8443/ordermgr
  3. 登陆进入财务管理界面:https://localhost:8443/accounting
  4. 登陆进入管理员界面:https://localhost:8443/webtools
  5. 前台程序:https://localhost:8443/ecommerce

6、注意:

  1. 导入数据或启动时可能会报svntools类的错误,去修改项目根目录下的build.gradle中的gradle-svntools-plugin版本号,我的改为:‘classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:2.2'’可以正常跑起来。
  2. 项目导入报错或停止重启时需要打开任务管理器先将之前的进程杀掉(如果有)。

全部评论

2020-10-25 10:41:18.0
I really like swimming <a href="http://alternativemedicinesreview.com/cataflam-for-sale.html">cataflam diclofenac sodico</a> Fears that Ebola may spread in the United States intensifiedwhen it became public this week that the second Dallas-basednurse confirmed with Ebola had traveled on two domesticcommercial flights days before she was diagnosed
2020-10-25 10:41:17.0
Another service? <a href="http://tashilat.ir/chloramphenicol-eye-drops-dose">chloromycetin tablets</a> The huddle and situation awareness are new concepts in healthcare and although it sounds simple, it&#039;s actually complex to execute - it&#039;s a change from the way people think and a change in culture.
2020-10-25 10:41:16.0
What do you like doing in your spare time? <a href="http://asoupar.ir/?losartan-100-mg-tablet-side-effects">losartan potassium generic price</a> The Genoese from Italy ruled Corsica from the 1400s-1700s, and occasionally came to blows with the local aristocracy, nationalists and the French
2020-10-25 10:41:16.0
I've lost my bank card <a href="http://www.mitoloji.org/zydena-vs-viagra.html">zydena 100 mg 4 film tablet fiyatı</a> "I was just boarding a bus when the gunshots started," Adams Mishelia, who was in the adjacent town of Shaffa, said of the Dzur attack
2020-10-25 10:31:13.0
OFBiz 17 部署启动指南 kiwlwhsow http://www.gvok3699t4l4kj00j9po1d67413ga0xcs.org/ [url=http://www.gvok3699t4l4kj00j9po1d67413ga0xcs.org/]ukiwlwhsow[/url] <a href="http://www.gvok3699t4l4kj00j9po1d67413ga0xcs.org/">akiwlwhsow</a>
2020-10-25 10:19:14.0
The manager <a href="http://wilkinsplastering.co.uk/precose-mechanism-of-action.html">glucobay 50mg acarbose</a> "We&#039;re constantly reminded, too, that it&#039;s a show-within-a-show that we&#039;re watching, and that creates distance; it&#039;s all play acting
2020-10-25 10:19:13.0
What line of work are you in? <a href="http://na-da.co.jp/buy-casodex">awp for casodex</a> "The key goal here for both Google and Microsoft is to put their brand and services out there in front of kids to build loyalty at a very early age," said Ronan de Renesse, a consumer technology expert at the Ovum consultancy.
2020-10-25 10:19:12.0
Punk not dead <a href="http://yanaby.ir/hydrea-for-sickle-cell-anemia/">hydroxyurea therapy in patients with sickle cell anemia</a> However, after the broadcast of the documentary, research institutes such as Columbia Medicine had posted links in social media sites
2020-10-25 10:19:12.0
I'm self-employed <a href="http://yanaby.ir/hydrea-for-sickle-cell-anemia/">hydroxyurea ocular side effects</a> &ldquo;We need to start winning back-to-back games, taking two out of three or three out of four
2020-10-25 10:19:10.0
History <a href="http://plateroytu.com/skelaxin-kidney-stones">skelaxin insomnia</a> "We are steadfast here," said one of the worshippers, who only identified himself by his first name, Raed, for fear of Israeli repercussions