【问题标题】:Hybris 5 trail, getting started [duplicate]Hybris 5 Trail,入门[重复]
【发布时间】:2015-06-03 13:48:01
【问题描述】:

我开始使用 Hybris。我正在关注他们 wiki 页面上的核心线索。我能够启动服务器,但从一开始就突出的一件事是此构建错误消息:

updateMavenDependencies:
     [echo] C:\hybris\hybris\bin\platform\ext\core/web/webroot/WEB-INF/external-
dependencies.xml was not found!

...在C:\hybris\hybris\bin\platform\ext\core,没有“web”目录(?)

上面的问题“web/webroot/WEB-INF/external-dependencies.xml没有找到!”还没有解决....

下面由引用的线程回答——谢谢!


但在“cuppy”演示之前没有运行时问题,我收到了这个春季 IOC 错误:

org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'openLigaDBTemplate' defined in class path resource [cuppy-ws-spring.xml]
: Instantiation of bean failed; nested exception is org.springframework.beans.Be
anInstantiationException: Failed to instantiate [org.springframework.ws.client.c
ore.WebServiceTemplate]: Constructor threw exception; nested exception is java.l
ang.NoSuchMethodError: org.springframework.util.ClassUtils.forName(Ljava/lang/St
ring;)Ljava/lang/Class;

谢谢

【问题讨论】:

  • 是的,ClassUtils.forName() 错误是由一个版本的库编译并运行另一个版本引起的。是的,它是由 Shreshtt Bhatt 修复的——谢谢!但不——它不完全是重复的,因为第一个问题:updateMavenDependencies: [echo] C:\hybris\hybris\bin\platform\ext\core/web/webroot/WEB-INF/external-dependencies.xml 是未找到! ...在 C:\hybris\hybris\bin\platform\ext\core 中,没有“web”目录(?)尚未解决

标签: java spring hybris


【解决方案1】:

这是与Hybris 5.5.1 的兼容性问题。您必须使用Hybris 5.5.0 跟踪您的踪迹,或者将sping-ws-1.5.9-all.jar 替换为spring-ws-core-2.2.0.RELEASE.jar

将 spring-ws-core-2.2.0.RELEASE.jar 和 spring-ws-security-2.2.0.RELEASE.jar 复制到 cuppy/lib 并删除旧 jars。 p>

在 Eclipse 中,您应该从构建路径中删除旧库并添加新库。

【讨论】:

  • 感谢您解决了问题!
猜你喜欢
  • 2021-07-26
  • 1970-01-01
  • 2017-04-19
  • 1970-01-01
  • 1970-01-01
  • 2021-09-04
  • 2021-07-28
  • 2021-09-21
  • 2014-05-03
相关资源
最近更新 更多