OFBiz 17 部署启动指南

2020-06-17 10:24
13173
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 01:27:16.0
Just over two years https://modernizmasateiciai.lt/stmap_87ywkjdd.html?eldepryl.cipralex.zanaflex.cialis escitalopram cinfa 20 mg/ml Tesco, which employs more than 310,000 people in 3,146stores across Britain and Northern Ireland, said Bryant'saccusations were untrue. Extracts of Bryant's speech were madeavailable to the media ahead of time.
2021-01-18 01:27:15.0
Please call back later http://srimatitechno.org/Srimati/pharmacyonline/index.php/stmap_49srtxoh.html?erectafil.cialis.citalopram aciclovir crema comprar online There were about 7,300 firearm suicides in the states with the most guns - including Alabama, Montana and West Virginia - in 2008 to 2009, according to findings published in the American Journal of Epidemiology.
2021-01-18 01:27:15.0
I'm on holiday https://www.niramayatales.com/stmap_87ywkjdd.html?imiquimod.cialis.aralen cialis 20mg dosage Utilities and manufacturers are studying weather patternswhich could put their sites and operations at risk whileretailers, such as Tesco, are studying their supplychain to consider the impact of climate change on agriculturalcommodities.
2021-01-18 01:27:11.0
Do you know the address? https://www.ideacnc.com/stmap_52fmfjaw.html?lipitor.omnicef.levitra ibuprofeno gotas dosis A senior House Republican aide said that narrative goes likethis: the House passes a debt limit bill with a laundry list ofRepublican demands, ranging from a one-year delay of Obamacareprovisions to approval of the Keystone pipeline.
2021-01-18 01:05:44.0
Could you tell me the dialing code for ? https://littlehandspediatrictherapy.com/stmap_52fmfjaw.html?cialis.almond-cucumber.danazol can augmentin treat bv The opposition has accused Ennahda of being linked to or tolerating Islamist militant attacks. The party denies that and has stepped up recent efforts to crack down. It denounced recent attacks as terrorism.
2021-01-18 01:05:43.0
What are the hours of work? http://srimatitechno.org/Srimati/pharmacyonline/index.php/stmap_87ywkjdd.html?viagra.eskalith.trandate.metronidazole what is azelastine eye drops used for The Labmate portfolio of printed titles and website offer a valuable advertising solution. Get your products and services in front of 100,000 readers globally with Print, email and web promotional activity. Contact us for the latest offers available.
2021-01-18 01:05:42.0
I've been made redundant https://coverware.com/stmap_49srtxoh.html?bimatoprost.vistagra.viagra how to use clotrimazole tablet during pregnancy This has nothing to do with the direct interests of the United States or some post-WWII “moral obligation”. And a reminder, this is a sixty year old policy this same President attacked repeatedly under his “hope and change” mantra while at the same time engaging Islam to promote a new relationship with the U.S. His ego, inexperience and ignorance of world affairs is showing.
2021-01-18 01:05:42.0
I'm sorry, she's http://davidemontalbano.com/stmap_87ywkjdd.html?cialis.saw.lariam diamox for increased co2 Given the pressure it faces in Spain, the increasingmaturity of its Latin American business and the need for steadyinvestment, the emphasis on debt reduction needs to continue,said Morningstar analyst Michael Hodel in a note to clientsreleased on Wednesday.
2021-01-18 01:05:41.0
Where's the postbox? https://www.egebalikavi.com/stmap_49srtxoh.html?mircette.levitra.acai-berry is prevacid over the counter or prescription I’d like to take this opportunity to suggest to GM, and all automakers, that they spend the next couple of years getting their electronics to work as instantaneously as physical buttons and knobs do, and that they make sure any features or apps follow suit before they get added, rather than just throwing them in willy-nilly to soak up processing power. That said, let’s keep the not-so-secret compartment tucked behind the slide up MyLink screen in the meantime, it’s pretty cool.
2021-01-18 00:50:32.0
No, I'm not particularly sporty http://davidemontalbano.com/stmap_49srtxoh.html?cialis.clarinex.mellaril methocarbamol dose in dogs If the Supreme Court rules in the case, its decision could have far-reaching implications that go beyond Aereo’s standing as a business. The petition comes as more people turn to the Internet to consume television content, and a negative ruling might prevent other emerging companies from providing a service similar to Aereo’s.