Microsoft Windows 7 Professional
Java 1.6 ( the version with weblogic )
I was using WebLogic 11g and Spring 3.1 to do Java Webapp development on a Windows XP Professional PC. All was fine.
Then I had to migrate to a new computer running Windows 7 Professional.
I think I may have missed a step in setting everything up to get it all working again.
My webapp is "ACME", acme.war
When I try to navigate to my webapp on my computer I get the following error:
"acme" failed to preload on startup in Web application: "acme.war".
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/acme-servlet.xml];
nested exception is java.lang.NoSuchMethodError:
Here is a copy of my acme-servlet.xml file:
Here is a list of files I have in my war/WEB-INF/lib inside of acme.war:
Looks like you may have multiple versions of some of the spring libraries on the classpath. Do you have them in the WAR and in the lib directory of the appserver? Perhaps there are conflicting versions. The other possibility is you are compiling the code with a newer version of Spring than exists on the class path at runtime.