I get the following Error and can’t understand the problem of it:
Error creating bean with name ‘someJobBean’ defined in class path
resource [xx/yy//zz.xml]: Instantiation of bean failed; nested
exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.lang.Object
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception;
nested exception is java.lang.ClassCastException: java.lang.Class
cannot be cast to [Ljava.lang.Class;
Any helpful information is welcomed!
All we know right now is that it’s getting a Class where it expects a Class[]. We’d know more with some code.