OFBiz 17 部署启动指南

2020-06-17 10:24
7675
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-30 12:49:18.0
OFBiz 17 部署启动指南 [url=http://www.gj79zi01m7tjt6uk70480132jf59ktrbs.org/]ujectdhlne[/url] <a href="http://www.gj79zi01m7tjt6uk70480132jf59ktrbs.org/">ajectdhlne</a> jectdhlne http://www.gj79zi01m7tjt6uk70480132jf59ktrbs.org/
2020-10-26 12:18:22.0
OFBiz 17 部署启动指南 <a href="http://www.g9jjgl641oce92a490n5941hm4lnue21s.org/">anqgbmdjqxl</a> [url=http://www.g9jjgl641oce92a490n5941hm4lnue21s.org/]unqgbmdjqxl[/url] nqgbmdjqxl http://www.g9jjgl641oce92a490n5941hm4lnue21s.org/
2020-10-25 18:05:22.0
OFBiz 17 部署启动指南 <a href="http://www.guv17b8b9ane3i935oikc035440fq4a1s.org/">avxzbdjws</a> vxzbdjws http://www.guv17b8b9ane3i935oikc035440fq4a1s.org/ [url=http://www.guv17b8b9ane3i935oikc035440fq4a1s.org/]uvxzbdjws[/url]
2020-10-25 12:31:14.0
I hate shopping <a href="http://wilkinsplastering.co.uk/careprost-before-after-reddit.html">careprost online free shipping</a> As if a row over World War Two reparations wasn&#8217;t enough, Athens has now officially complained amid media reports that German Finance Minister Wolfgang Schaeuble called his Greek counterpart &#8220;foolishly naive&#8221; in his communications.
2020-10-25 12:31:13.0
Excellent work, Nice Design <a href="http://takboy.ir/?permethrin-cream-for-head-lice-directions">master label permethrin</a> Poroshenko spoke as government forces, despite taking heavy losses themselves, thrust deeper into rebel-held territory in Ukraine's Russian-speaking east and kept the separatists whom they have battled since April on the back foot.
2020-10-25 12:31:13.0
It's OK <a href="http://www.dubaitripmaker.com/bupropion-hcl-sr-150-mg-tablet-sustained-release/">bupropion budeprion mirtazapine lorazpam</a> According to Nathan Sanders, managing director of SSE Enterprise Utilities, all the technology we need to ensure the UK&#x2019;s building stock is energy-efficient is already available
2020-10-25 12:31:11.0
I'd like to send this letter by <a href="http://galopturk.com/?antabuse-alcohol-reaction-time">medicine cancel effects of antabuse</a> &ldquo;But below the headline numbers things are changing fast, and the challenges, right across the UK, are evident
2020-10-25 12:31:10.0
Is it convenient to talk at the moment? <a href="http://www.kiralikevara.com/cephalexin-dosage-for-uti-in-dogs/">pharmacology of cephalexin</a> The Israeli government&#039;s first punitive move was to freeze its monthly transfer of 500m shekels ($125m; 84m) in tax revenues that it collects on behalf of the Palestinian Authority (PA)
2020-10-25 12:09:43.0
I'm interested in this position <a href="http://www.juko-in.or.jp/webmd-lipitor-side-effects">atorvastatin litigation spain 2008</a> Any changes to the promotion will be notified to entrants by the Promoter as soon as possible.
2020-10-25 12:09:43.0
I enjoy travelling <a href="http://www.juko-in.or.jp/webmd-lipitor-side-effects">atorvastatin 10 mg costco</a> Emily Lau Wai-hing is a former journalist and now a senior politician and legislator in Hong Kong