【发布时间】: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”目录(?)尚未解决