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.
Which version of spring jars have you packaged as part of the war? Does it have 2.5.6? Does your war referring it @ run time from anywhere else?
I can see the below ways to identify the root cause, 1. Start the server in remote debug mode. 2. If not, may be try out jboss scoped class loading,
Create jboss-web.xml under WEB-INF,
com.example:archive=<>
java2ParentDelegation=false
Replace it with <> your web archive file name.
See, if this helps...