OFBiz 17 部署启动指南

2020-06-17 10:24
7645
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-25 12:09:42.0
Who do you work for? <a href="http://www.asiantbi.org/prevacid-dosage-60-mg">taking simethicone and prevacid</a> * Johnson & Johnson boosted its research efforts inAlzheimer's by striking a deal potentially worth up to $509million with unlisted Swiss biotech firm AC Immune to developso-called anti-tau vaccines.
2020-10-25 12:09:42.0
We were at school together <a href="http://cityweddings.co.uk/levlen-price-australia/">tri-levlen 28 side effects</a> Adi Pinhas, chief executive of Palo Alto, California-based Superfish, said in a statement last week that his company's software helps users achieve more relevant search results based on images of products viewed.
2020-10-25 12:09:41.0
The National Gallery <a href="http://www.juko-in.or.jp/webmd-lipitor-side-effects">dr jarvik lipitor</a> "We fully support innovation in tobacco products, including vapor products," said Smith
2020-10-25 11:47:16.0
Why did you come to ? <a href="http://m-mariage.fr/meldonium-bodybuilding">meldonium olainfarm side effects</a> It hadn&rsquo;t worked this season because neither the offense nor defense could regularly execute its part of the plan, which sent the Jets into their most depressing slump since 2007.
2020-10-25 11:47:15.0
I like watching football <a href="http://hoosenji.or.jp/will-my-doctor-prescribe-antabuse">cheap antabuse online</a> At least 40 domestic flights were grounded and six international flights were diverted by civil aviation authorities.
2020-10-25 11:47:15.0
How long have you lived here? <a href="http://m-mariage.fr/meldonium-bodybuilding">meldonium uk sale</a> A monthly survey of 47 senior investors in the United States, Europe, Britain and Japan found the average recommended exposure to stocks in global balanced portfolios eased for a second consecutive month to 49.1 percent in November from 49.5 percent.
2020-10-25 11:47:14.0
Go travelling <a href="http://www.onedirection.co.uk/levothyroxine-half-life-uptake">thyroxine levothyroxine</a> The 22-year-old described this period of her life as one where she &ldquo;ate my panic and retched away the shame." Her coping mechanism was to channel her love of food by cooking for others, making lavish dinners that she appeared to deny herself.
2020-10-25 11:47:13.0
magic story very thanks <a href="http://autodent-services.co.uk/can-hyzaar-cause-weight-gain.html">hyzaar 50 12.5 side effects</a> 15that it was recalling those on furlough and offering itsstewards a voluntary buyout of up to $100,000.
2020-10-25 11:24:57.0
I'm training to be an engineer <a href="http://www.highlandera-z.co.uk/going-from-25-mg-to-50-mg-of-zoloft.htm">going from 25 mg to 50 mg of zoloft</a> So while cheaper energy is welcome news for a net importer of the stuff, as the eurozone is, the danger of a period of wider and potentially more damaging deflation is there
2020-10-25 11:24:57.0
We need someone with experience <a href="http://sy-sol.dk/prezzo-toradol-punture/">toradol 60 mg high</a> Details remain sketchy, but Xinhua said the plan would focus on China's Silk Road Economic Belt and the 21st Century Maritime Silk Road initiative, building roads, railways, ports and airports across Central and South Asia.