我用的是MyEclipse 10、Tomcat 6、jdk 1.7,启动服务器后报错,不知道是什么原因。报错如下: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException Caused by: java.lang.reflect.MalformedParameterizedTypeException我有更好的答案
按默认排序|按时间排序
3条回答
2012-10-08 15:18
wenlongwljs
|四级
你项目中混合使用了Spring的不同版本,如2.x和3.x,把2.x的jar包删除即可。