This discussion is archived
0 Replies Latest reply: Aug 30, 2013 4:32 AM by Kochapz RSS

VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a in weblogic.xml

Kochapz Newbie
Currently Being Moderated

Hi All,


I am experiencing this error while deploying application in weblogic server 10.3


Error VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'default-mime-type@http://www.bea.com/ns/weblogic/weblogic-web-app client-cert-proxy-enabled@http://www.bea.com/ns/weblogic/weblogic-web-app relogin-enabled@http://www.bea.com/ns/weblogic/weblogic-web-app allow-all-roles@http://www.bea.com/ns/weblogic/weblogic-web-app native-io-enabled@http://www.bea.com/ns/weblogic/weblogic-web-app minimum-native-file-size@http://www.bea.com/ns/weblogic/weblogic-web-app disable-implicit-servlet-mappings@http://www.bea.com/ns/weblogic/weblogic-web-app temp-dir@http://www.bea.com/ns/weblogic/weblogic-web-app optimistic-serialization@http://www.bea.com/ns/weblogic/weblogic-web-app retain-original-url@http://www.bea.com/ns/weblogic/weblogic-web-app show-archived-real-path-enabled@http://www.bea.com/ns/weblogic/weblogic-web-app require-admin-traffic@http://www.bea.com/ns/weblogic/weblogic-web-app access-logging-disabled@http://www.bea.com/ns/weblogic/weblogic-web-app' instead of 'prefer-application-packages@http://www.bea.com/ns/weblogic/weblogic-web-app' here in element container-descriptor@http://www.bea.com/ns/weblogic/weblogic-web-app:<null>



weblogic.xml

<?xml version="1.0" encoding="UTF-8"?>

<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">

<jsp-descriptor>

<compress-html-template>true</compress-html-template>

</jsp-descriptor>

 

<container-descriptor>

<prefer-web-inf-classes>false</prefer-web-inf-classes>

<prefer-application-packages>

<package-name>com.google.*</package-name>

</prefer-application-packages>

</container-descriptor>

 

</weblogic-web-app>


Can anyone please correct this file?


Thanks,

Kochapz

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points