MartK MartK - 1 year ago 188
Java Question

setSerializationId no such method error

Im trying to run my project, but this error hits me everytime:

at org.springframework.web.context.ContextLoader.createWebApplicationContext(

This is my spring application context:

What can cause this? Any help would be appreciated.

Thanks in advance.

Answer Source

The setSerializationId method is present in DefaultListableBeanFactory class from spring 3.0 but not in the same class from spring 2.5. I think you're working with a mixdown of the two versions of spring. It seems that you are using a library which depends on the old version of spring, for instance maybe spring-web. I suggest you to check all the jars in your classpath.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download