Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

VALIDATION PROBLEMS WERE FOUND

YEFeb 22 2011 — edited Feb 23 2011
Hi, I deploy a war file to weblogic. But I get errors as follow.

How to modify this war file?

<AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1298359787175> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in E:\SMap\smap.war/WEB-INF/web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
#### <Error> <J2EE> <webserver> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1298359787502> <BEA-160197>
<Unable to load descriptor E:\SMap\smap.war/WEB-INF/web.xml of module smap.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected element 'servlet-name@http://java.sun.com/xml/ns/javaee' instead of 'description@http://www.w3.org/2001/XMLSchema-instance' here in element servlet@http://java.sun.com/xml/ns/javaee:<null>
problem: cvc-complex-type.2.4a: Expected element 'servlet-name@http://java.sun.com/xml/ns/javaee' instead of 'display-name@http://www.w3.org/2001/XMLSchema-instance' here in element servlet@http://java.sun.com/xml/ns/javaee:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 23 2011
Added on Feb 22 2011
4 comments
295 views