java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V

前端 未结 2 1860
自闭症患者
自闭症患者 2021-01-13 16:57

Below is the pom.xml of my spring batch project and I get the below exception if I deploy in jboss 5 , but the same war works fine if I deploy in local windows machine.

2条回答
  •  不思量自难忘°
    2021-01-13 17:45

    You are mixing Spring 3.1.1 with Spring 2.5.6. Add explicit dependencies or dependency management entries for those Spring dependencies that are still on 2.5.6 to upgrade them to 3.1.1 or downgrade your project.

提交回复
热议问题