OFBiz 17 部署启动指南

2020-06-17 10:24
9758
32089

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-12 04:18:46.0
Can I use your phone? <a href="http://jajharkhand.in/wp/glimepiride-cost-at-publix-l4rg">metformin hydrochloride prolonged release and glimepiride tablets ip uses in telugu</a> Ten days ago he was snatched from Libyan soil by special forces after he was located in Tripoli. This sparked protests and the brief kidnapping of the Libyan prime minister by those who resented the infringement of their sovereignty. Some placards at the protest read &#8220;We don&#8217;t want a Libyan Karzai&#8221;, a reference to the western-backed Afghan leader.
2020-10-12 04:17:49.0
I'm in my first year at university <a href="http://bouw.scouts61.be/levitra-cost-kaiser-19-eu4c">levitra paypal accepted</a> “It’s good and not good, because the strike would not be lethal to the Syrian regime,” said Captain Fadi, an FSA officer with the Jabhat al-Umma al-Islamiya Brigade, an Islamist rebel unit operating in and around Aleppo. Like other rebels interviewed, he declined to give his full name because of security concerns.
2020-10-12 04:17:49.0
I'd like to speak to someone about a mortgage <a href="http://soswkluczbork.pl/tadalafil-25mg-price-hlbu">tadalafil 20 mg stada preis</a> In 2010, the Chong Chon Gang was stopped by Ukrainian authorities who found small-arms ammunition and narcotics aboard the vessel, according to Hugh Griffiths, an arms trafficking expert at the Stockholm International Peace Research Institute.
2020-10-12 04:17:48.0
I'm from England <a href="https://www.ryanmcbain.com/forum/cheap-fluticasone-inhaler-w43p">fluticasone furoate aqueous nasal spray</a> On July 2, the U.S. Federal Reserve released the final rule.Of three requests made by JPMorgan - which were backed widely byother banks and lobby groups - regulators rejected the first,adopted the second and split the difference on the third.
2020-10-12 04:17:47.0
I've only just arrived <a href="http://ebomaf.com/lip-discoloration-scrub-ztq5">lip discoloration pink spots</a> “The security guards and guest check-in at CNN is largely an African-American staff,” says our spy. “You could cut the tension yesterday [Monday] with a knife. No one wanted to look him in the eye, and he was so rude he didn’t even get off his cell phone when he was shocked to be asked for ID.”
2020-10-12 04:17:47.0
How much notice do you have to give? <a href="http://www.germanshepherdpuppywire.com/pharmacy/index.php/xenical-to-buy-mt5h">xenical to buy</a> They shared a love for learning and teaching. Jamie Reid, who grew up in Washington state, had come to Philadelphia as part of Teach for America, while Will Reid was a math teacher with People for People Charter School in the city.
2020-10-12 04:17:47.0
A few months <a href="https://www.tyrecruitment.co.uk/isotretinoin-knee-pain-rga5">jen's accutane message board</a> Japan was angered last year after a French broadcaster used a composite picture that showed Japanese national soccer team goalie Eiji Kawashima with four arms and the caption "Fukushima Effect" about a save he made in a game between the two nations. The broadcaster subsequently apologised.
2020-10-12 04:17:47.0
International directory enquiries <a href="https://avanti.cze.pl/trazodone-inactive-ingredients-7ejj">trazodone dose dogs mg/kg</a> Snowden is reportedly hiding out in Hong Kong after leaking information about the wiretapping practices of the National Security Agency earlier this month to reporters at The Guardian and The Washington Post. Snowden's leaks contained information about secret court orders allowing the NSA to monitor phone records as part of the Foreign Intelligence Surveillance Act. Another secret NSA program called PRISM allowed the government to monitor user data from Google, Facebook, Microsoft and other Internet companies.
2020-10-12 04:17:46.0
History <a href="http://katkov.dev/youtube-cialis-spoof-c1lq">cialis patent extension</a> The ballot measure is likely to encounter fierce opposition from the medical community. It immediately drew criticism from the California Medical Association, the California Hospital Association and the Civil Justice Association of California, a business and insurance-industry backed group focused on curbing litigation.
2020-10-12 04:17:45.0
What's the last date I can post this to to arrive in time for Christmas? <a href="http://www.p3logistics.in/pharmacy/index.php/non-generic-viagra-on-line-20j2">viagra in turkey</a> When approached by officers Smolders alleged he was harassed by three men who threw him into the river, the complaint states. After agents ran background checks, however, they discovered Smolders was a citizen of Belgium who was denied entry to the U.S. in 2008. He was then arrested on suspicion of entering the country illegally.