Broadleaf框架集成模块错误

时间:2015-09-03 11:24:21

标签: broadleaf-commerce

我已经能够在eclipse luna中下载并运行demosite源代码

我无法更改DemoSite项目中的broadleaf徽标,因此我下载了broadleaf框架源代码并导入到eclipse中。 BLC框架是一个多模块项目。在broadleaf子模块上运行全新安装时,除了集成模块之外,所有模块都成功构建,导致此后续堆栈跟踪(已编辑)

       ------------------------------------------------------------------               -------------

测试集:TestSuite

  Tests run: 153, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:                 196.714 sec <<< FAILURE!
  testCheckout(org.broadleafcommerce.core.checkout.service.CheckoutTest)    Time elapsed: 0.407 sec  <<< FAILURE!
  org.broadleafcommerce.core.pricing.service.exception.PricingException: Unable to execute pricing for order -- id: 24

at org.broadleafcommerce.core.pricing.service.PricingServiceImpl.executePricing(PricingServiceImpl.java:44)      在org.broadleafcommerce.core.order.service.OrderServiceImpl.save(OrderServiceIm pl.java:276)      at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       at java.lang.reflect.Method.invoke(Method.java:606)       在org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUt ils.java:317)       在org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProx y.java:201)       在com.sun.proxy。$ Proxy139.save(未知来源)       在org.broadleafcommerce.core.checkout.service.CheckoutTest.testCheckout(Checkou tTest.java:115)       引起:org.broadleafcommerce.core.workflow.WorkflowException:java.lang.UnsupportedOperationException:未注册货币转换服务,无法一起添加不同的货币类型(USD INR)       at org.broadleafcommerce.core.workflow.DefaultErrorHandler.handleError(DefaultEr rorHandler.java:60)       在org.broadleafcommerce.core.workflow.SequenceProcessor.doActivities(SequencePr ocessor.java:90)       在org.broadleafcommerce.core.pricing.service.PricingServiceImpl.executePricing(PricingServiceImpl.java:39)       ......还有47个       引起:java.lang.UnsupportedOperationException:未注册货币转换服务,无法一起添加不同的货币类型(USD INR)       在org.broadleafcommerce.common.money.Money.add(Money.java:182)       在org.broadleafcommerce.core.pricing.service.workflow.TotalActivity.setTaxSums(TotalActivity.java:135)       在org.br oadleafcommerce.core.pricing.service.workflow.TotalActivity.execute(TotalActi vity.java:48)       在org.broadleafcommerce.core.workflow.SequenceProcessor.doActivities(SequencePr ocessor.java:77)       ......还有48个

我因此无法运行项目。任何人都可以帮忙。 我还想知道为什么框架代码中没有demosite子模块。如何从eclipse运行框架工作源代码。我也没有看到像demosite项目中那样的build.xml文件。

1 个答案:

答案 0 :(得分:0)

您似乎正在尝试从源代码构建Broadleaf Commerce的框架项目。如果您的目标是更改Broadleaf徽标,则无需构建整个Broadleaf框架源代码。

您只需覆盖DemoSite源代码的某些部分即可。建议您搜索此论坛以获取有关此问题的更多详细信息。

希望这会有所帮助。祝你好运。