title: Error in weblogic.xml : cvc-complex-type.2.4.a: Invalid content was found starting with element 'prefer-application-packages'
body: <p>I am using springs source tool suite.
  I am getting an error in weblogic.xml file--</p>
  
  <pre><code>cvc-complex-type.2.4.a: Invalid content was found starting with element 'prefer-   
  application-packages'. One of '{"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}' is expected.
  enter code here
  </code></pre>
  
  <p>and my weblogic.xml looks like this</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"     
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app   
  http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"&gt;
  &lt;jsp-descriptor&gt;
      &lt;keepgenerated&gt;true&lt;/keepgenerated&gt;
      &lt;page-check-seconds&gt;60&lt;/page-check-seconds&gt;
      &lt;precompile&gt;true&lt;/precompile&gt;
      &lt;precompile-continue&gt;true&lt;/precompile-continue&gt;
  &lt;/jsp-descriptor&gt;
  &lt;container-descriptor&gt;
      &lt;optimistic-serialization&gt;true&lt;/optimistic-serialization&gt;
      &lt;prefer-application-packages&gt;
          &lt;package-name&gt;antlr.*&lt;/package-name&gt;
          &lt;package-name&gt;javax.persistence.*&lt;/package-name&gt;
          &lt;package-name&gt;org.apache.commons.*&lt;/package-name&gt;  
      &lt;/prefer-application-packages&gt;
      &lt;show-archived-real-path-enabled&gt;true&lt;/show-archived-real-path-enabled&gt;
  &lt;/container-descriptor&gt;
  
  &lt;/weblogic-web-app&gt;
  </code></pre>
  
  <p>the error is shown at the beginning of  tag..</p>