I have done a Dynamic Web project with Spring 3.0 using Tomcat Server & it works fine. When i deployed the same in Weblogic Server; it throws me an error:
VALIDATION PROBLEMS WERE FOUND problem: cvc-enumeration-valid: string value '2.5' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/j2ee: at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323) --- weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
Starting lines of web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
But the same works in Tomcat.