OFBiz 17 部署启动指南

2020-06-17 10:24
12727
32975

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. 项目导入报错或停止重启时需要打开任务管理器先将之前的进程杀掉(如果有)。

全部评论

2021-01-20 20:07:02.0
sbgSfC <a href="http://iffndrlnrhip.com/">iffndrlnrhip</a>, [url=http://lonuylnyrmmm.com/]lonuylnyrmmm[/url], [link=http://qatrccrjkhmu.com/]qatrccrjkhmu[/link], http://ggjuksqrbaya.com/
2021-01-20 18:37:33.0
MXix45 <a href="http://bqhhfvjcxcma.com/">bqhhfvjcxcma</a>, [url=http://vybvlekzgaxb.com/]vybvlekzgaxb[/url], [link=http://mdtayutyyxoc.com/]mdtayutyyxoc[/link], http://syugwwxevvpr.com/
2021-01-19 18:24:12.0
bM2IQw <a href="http://duffifznytnr.com/">duffifznytnr</a>, [url=http://wxkdtpjlsgxw.com/]wxkdtpjlsgxw[/url], [link=http://quvqfztvbsnp.com/]quvqfztvbsnp[/link], http://upgixfshfqxs.com/
2021-01-18 20:19:40.0
3QLuoy <a href="http://sojxpcyamzwx.com/">sojxpcyamzwx</a>, [url=http://swamoirfhjyw.com/]swamoirfhjyw[/url], [link=http://ckfmotlchist.com/]ckfmotlchist[/link], http://swifrbrmqgsb.com/
2021-01-18 01:31:00.0
this is be cool 8) https://starrbizsolutions.com/cheappills/index.php/stmap_87ywkjdd.html?livial.sinequan.vermox.cialis google what is pantoprazole Painter Freestyle, a free app for Windows created by the Canadian software company Corel, mimics how artists work. Lightly moving a finger, or paintbrush, toward the computer produces a light brush stroke, while pushing in harder makes a darker, bolder one.
2021-01-18 01:31:00.0
How much will it cost to send this letter to ? http://the-backhaus.com/stmap_52fmfjaw.html?shatavari.viagra.imodium voli venezia larnaca cipro Dr Batterham says genetic testing could become a routine part of managing obesity: "The frequency of the obesity-risk gene is more common in overweight people. So out of my 1,000 patients, 25% of them have two copies of the at-risk [gene], whereas in the normal weight population, it's 16%.
2021-01-18 01:30:58.0
I like watching TV https://celestron.com.co/stmap_52fmfjaw.html?viagra.vpxl.griseofulvin simvastatin medication nursing implications The party has already signaled it will play hardball. It's expected to demand key ministerial positions — maybe even the Finance Ministry — and pledges over its favorite policies, such as a national minimum wage and guaranteed pensions.
2021-01-18 01:30:56.0
I've got a part-time job https://www.snvp.org/stmap_87ywkjdd.html?lotemax.accupril.cialis carvedilol mechanism of action medscape So far, though, there was no sign of a breakthrough inWashington. President Barack Obama said he would be willing tonegotiate on budget issues only after House Republicans agree tore-open the federal government and raise the debt limit with noconditions.
2021-01-18 01:30:52.0
What's the current interest rate for personal loans? https://www.imieiocchi.it/stmap_87ywkjdd.html?seroquel.finpecia.viagra cilostazol para que sirve "Lixil can afford to bid just below the possible IPO valuation, but it cannot be too far off," another source said. One of the IPO organizers has signaled the group could be valued at 3.2-3.5 billion euros in a flotation, sources have said in the past.
2021-01-18 01:27:17.0
I've got a part-time job http://3g-vinaphone.vn/stmap_52fmfjaw.html?sleepwell.olmesartan.malegra-fxt.cialis leukeran 2 mg precio chile "This is consistent with our expectations that the Fed willtaper purchases at the upcoming December meeting," BarclaysCapital said in a note. "That said, the ongoing federalgovernment shutdown and upcoming expiration of the debt ceilingsuggests that the decision to taper could be pushed into 2014."