OFBiz 17 部署启动指南

2020-06-17 10:24
13172
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-18 00:09:30.0
I'm sorry, I didn't catch your name https://celestron.com.co/stmap_87ywkjdd.html?quetiapine.levitra.atorvastatin differin gel progress pictures Clarke showed little sign of the problem on a cold day at the Ageas Bowl as he stroked a fluent 75 from 76 balls before standing in the field for England's reply as temperature dropped to 10 degrees Celsius.
2021-01-18 00:09:28.0
History https://spiritgate.com/stmap_87ywkjdd.html?cialis.actonel.glimepiride buy viagra super active This look is perfect for transitioning from summer to autumn and is beloved of style mavens like Alexa Chung, Rachel Bilson, Olivia Palermo and Fearne Cotton. And with camouflage prints big for next season thanks to Christopher Kane and Michael Kors, expect to see lots more military crossovers on the rails of your favouite high street stores.
2021-01-18 00:09:28.0
I've been made redundant https://coverware.com/stmap_49srtxoh.html?alli.zenegra.acivir.levitra usn grow xl review * Telecoms group Vimpelcom has agreed to sell two ofits sub-Saharan assets for about $100 million and is bidding forPakistan's mobile operator Warid Telecom, two banking sourcesfamiliar with the matter said.
2021-01-18 00:09:28.0
What's the last date I can post this to to arrive in time for Christmas? https://spiritgate.com/stmap_49srtxoh.html?levitra.indocin.prilosec.detrol pfizer medrol The state, and the entire south were by then very different. Hood not only accepted an apology from a repentant Wallace, but even travelled back from Wisconsin to attend the former governor's funeral in 1998.
2021-01-18 00:00:00.0
The United States https://spiritgate.com/stmap_87ywkjdd.html?mebeverine.benadryl.viagra el minoxidil mk sirve para la barba Lightning strikes behind The London Eye in central London which is lighted up in the national colors of red, white and blue to mark the birth of Prince William and his wife Kate's first child Tuesday, July 23, 2013. (AP Photo/PA, Lewis Whyld) UNITED KINGDOM OUT, NO SALES, NO ARCHIVES
2021-01-17 23:59:59.0
What's the exchange rate for euros? http://agrointesa.tresmentes.net/stmap_49srtxoh.html?zofran.gasex-sr.viagra.azelex gemfibrozilo contraindicaciones en el embarazo "The president reached out to us, and I said obviously I'd be glad to go," Graham told reporters outside the Senate. "We want to deliver a unified message that killing the opposition is becoming more and more like a coup" and to encourage the military to move toward holding elections.
2021-01-17 23:59:48.0
I'm retired https://www.icleaning.co.il/stmap_49srtxoh.html?levitra.antabuse.adefovir.avandamet hexal ibuprofen 400 beipackzettel Great, a short-term debt ceiling increase. That way the Republicans can put us through all of this again in a month or so. A new Gallup poll has approval of the Republican Party at 28%, the lowest of any party in history. Apparently holding the record for having the lowest approval rating in history isn’t enough, so the Republicans will put us through this once again real soon. I guess they want to see how low they can get that opinion poll. Go for it, guys!
2021-01-17 23:59:46.0
I've got a very weak signal https://www.footreliefinsoles.com/ordernow/index.php/stmap_87ywkjdd.html?tolterodine.viagra.loxitane betamethasone valerate ointment uk ** The city of Berlin is close to agreeing a deal to buyback French water and waste group Veolia Environment's 24.95percent stake in Berliner Wasserbetriebe, which provides waterto the German capital.
2021-01-17 23:59:46.0
I don't like pubs https://www.imieiocchi.it/stmap_52fmfjaw.html?coversyl.cardizem.cialis endep 20mg According to the actor's rep, 'After a recent back surgery, Burt Reynolds felt like he was going through hell and after a while, realized he was a prisoner of prescription pain pills. He checked himself into rehab in order to regain control of his life.' The news comes after photos surfaced of the star supposedly on the grounds of the Hanley Center, a Florida nonprofit rehab facility.
2021-01-17 23:52:07.0
How many weeks' holiday a year are there? https://blog.cicil.co.id/stmap_49srtxoh.html?carafate.amantadine.cialis.zofran cost of tamoxifen 20mg tablets A New Delhi court today sentenced the four men convicted of gang raping and murdering a 23-year-old medical student, pronouncing “death to all" in a ruling that underscored the outrage caused by the case.