Error creating bean with name 'sessionFactory' : MalformedParameterizedTypeException

前端 未结 3 1501
失恋的感觉
失恋的感觉 2020-12-06 12:27

ANY advice would be apprecated. I\'m stumped...

Problem

On my laptop, anytime our application tries to load the application-config.xml, I ge

3条回答
  •  不知归路
    2020-12-06 12:42

    I would assume you have wrong spring jars - perhaps one for spring 2.5 and one for 3.0. The classloader loads, say, spring-core for version 3.0, and the rest for 2.5. This would result in such errors.

    I'd suggest going through your maven dependency graph and remove all redundant ones. If necessary, use in your pom.

    Before that clean your project on all machines.

提交回复
热议问题