tom*_*tom 2 java spring hybris
我开始使用Hybris.我正在关注他们维基页面上的核心路径.我能够启动服务器,但是从一开始就突出的一件事是这个构建错误消息:
updateMavenDependencies:
[echo] C:\hybris\hybris\bin\platform\ext\core/web/webroot/WEB-INF/external-
dependencies.xml was not found!
Run Code Online (Sandbox Code Playgroud)
...在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;
Run Code Online (Sandbox Code Playgroud)
谢谢
这是兼容性问题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并删除旧的jar.
在Eclipse中,您应该从构建路径中删除旧库并添加新库.
| 归档时间: |
|
| 查看次数: |
3199 次 |
| 最近记录: |