I have created an application using Hibernate and REST web services.
I have deployed the application on my local tomcat 6.0 using JRE version : 1.6.0_13 and everything is working fine.
But when I deployed the same project on the production which is running tomcat 6.0 and jre version is : 1.6.0_17, the SessionFactory building code fails and when I see the logs.. I see there a ClassCastException.
I know one thing for sure that this error is environment related.
Please assist me in this.