spring构建失败
[junit] Testcase: dtd(org.springframework.oxm.jibx.JibxMarshallerTests):Caused an ERROR
[junit] Unable to access binding 'binding'
[junit] Make sure classes generated by the binding compiler are available at
runtime
[junit] Unable to access binding 'binding'
[junit] Make sure classes generated by the binding compiler are available at
runtime
[junit] java.lang.ClassNotFoundException: org.springframework.oxm.jibx.JiBX_
bindingFactory
[junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[junit] at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory
.java:237)
[junit] at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory
.java:292)
[junit] at org.springframework.oxm.jibx.JibxMarshaller.afterPropertiesSe
t(JibxMarshaller.java:224)
[junit] at org.springframework.oxm.jibx.JibxMarshallerTests.createMarsha
ller(JibxMarshallerTests.java:38)
[junit] at org.springframework.oxm.AbstractMarshallerTests.setUp(Abstrac
tMarshallerTests.java:58)
[junit]
[junit]
以上是构建失败打印的日志,请各位帮我分析找个原因,非常谢谢 --------------------编程问答-------------------- 我也是在这里出错了,弄不明白 望求解 --------------------编程问答-------------------- java.lang.ClassNotFoundException: org.springframework.oxm.jibx.JiBX_
bindingFactory
少了jar包 --------------------编程问答-------------------- 问题是怎么解决呢 --------------------编程问答-------------------- 不进行junit test,执行ant jar 就能构建成功了
补充:Java , Java EE