OFBiz 17 部署启动指南

2020-06-17 10:24
12728
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-06 22:45:12.0
What's the current interest rate for personal loans? https://www.ywam.sk/stmap_57eagupa.html?viagra.valacyclovir.actoplus ciprohexal 500 mg und alkohol According to Deutsche Bank analysts, the offer is asignificant premium to their $12 per share valuation of Elan,reflecting the tax advantage, and worth about a fifth more thantheir calculation of the Royalty bid.
2021-01-06 22:39:26.0
What's the current interest rate for personal loans? http://spadeindex.com/stmap_29tcdckv.html?cialis.starlix.entocort metoclopramide cost canada 'They are going to be worse to the point that the fire danger rating across most of the Greater Sydney area, the Hunter and indeed the fireground areas of the Blue Mountains and Southern Highlands, are going to be widespread extreme fire danger ratings.'
2021-01-06 22:39:26.0
Get a job https://www.yocomunico.com/stmap_57eagupa.html?naprelan.levitra.zyprexa viagra online wikipedia Meena Kumari fled as soon as the children began falling ill after eating the lunch cooked at the school in Bihar state. Twenty-three children between the ages of 5 and 12 died after eating the meal and many others fell ill.
2021-01-06 22:39:25.0
I'm on business https://www.yilmazreklam.com.tr/stmap_81lwwaju.html?nizagara.lisinopril.levitra.endep losartan amlodipino The pervy politician had earlier bailed on plans to work a phone bank at his midtown campaign headquarters after Leathers — enjoying her 15 minutes a bit too much — arrived and urged voters not to vote for Weiner.
2021-01-06 22:39:25.0
I'm sorry, she's https://www.stopsmokingcentres.co.uk/stmap_57eagupa.html?actoplus.viagra.tadalis.ethinyl diclofenac potassium meaning in urdu That’s what Giants corner Terrell Thomas thinks. The Eagles’ fast break attack yeah, the same one that torched Big Blue for 439 total yards in Philly’s 36-21 win on Oct. 6 has taken the NFL by storm, but Thomas said Wednesday that he’s not worried about it or big-play receiver DeSean Jackson, either.
2021-01-06 22:39:23.0
I'm interested in https://yourpreferredtours.com/stmap_81lwwaju.html?acivir.aricept.cialis.lamprene maleato de enalapril para que serve He also had chances to put away hitters who hurt him, but he couldn’t. Napoli’s homer came on a 1-2 pitch. Gomes’ homer came on a 3-2 pitch. Ortiz (1-and-2) and Ellsbury (0-and-2) helped fuel separate rallies with singles on two-strike pitches. 
2021-01-06 22:29:34.0
I'd like to pay this in, please https://weightgain.co.in/stmap_29tcdckv.html?procyclidine.midamor.cialis panadol extra 500mg 24 film tablet "The sideshows of this election have gotten in the way of the debate we should be having about the future of this city. And yes, I'm talking about Anthony Weiner. Enough is enough," de Blasio said in a statement.
2021-01-06 22:29:32.0
Enter your PIN https://www.weber.co.za/stmap_57eagupa.html?cialis.lincomycin.atenolol ventolin nebules 2.5 mg nasl kullanlr Q: Do you honestly think if Tray was a white female that Zimmerman would walk? What about Tray, besides his gender and skin color made the difference. You can't judge on his past: high school vs Zimmerman's police battery record. Does his gender and skin color play apart or not?
2021-01-06 22:29:30.0
I want to make a withdrawal https://www.wai-not.org/stmap_81lwwaju.html?montelukast.prothiaden.plavix.viagra fluconazole 200 tablet uses in telugu The wild card in Sunday's election is the Alternative forGermany (AfD), a seven-month-old party that has seized on voterfears about the cost of euro zone bailouts, for which Germany,Europe's largest economy, underwrites the biggest share.
2021-01-06 22:29:28.0
Could I have , please? https://waterlifeaquarium.com.au/stmap_57eagupa.html?aleve.nizagara.baclofen.cialis piracetam wikipedia deutsch On July 6, the victim managed to phone her mother in Florida, who agreed to send her money. But when Attz found out, he and Melissa drove her to an East Flatbush check-cashing store to pick up the money the victim’s mom wired, sources said.