title: PF war file deployment on weblogic
body: <p>After trying to deploy war file on Weblogic 12.2.1.3.0 for past few days i keep getting this errors:</p>
  
  <pre><code>Unable to access the selected application.
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@14809eda finder: weblogic.utils.classloaders.CodeGenClassFinder@494ac240 annotation: /WEB-INF/lib/tomcat-embed-jasper-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@14809eda finder: weblogic.utils.classloaders.CodeGenClassFinder@494ac240 annotation: /WEB-INF/lib/tomcat-embed-jasper-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@14809eda finder: weblogic.utils.classloaders.CodeGenClassFinder@494ac240 annotation: /WEB-INF/lib/tomcat-embed-jasper-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  
  Unable to access the selected application.
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@7e1a4876 finder: weblogic.utils.classloaders.CodeGenClassFinder@37fb545a annotation: /WEB-INF/lib/tomcat-embed-websocket-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@7e1a4876 finder: weblogic.utils.classloaders.CodeGenClassFinder@37fb545a annotation: /WEB-INF/lib/tomcat-embed-websocket-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  
  VALIDATION PROBLEMS WERE FOUND /domains/hnb_frtest/weblogic.utils.classloaders.GenericClassLoader@7e1a4876 finder: weblogic.utils.classloaders.CodeGenClassFinder@37fb545a annotation: /WEB-INF/lib/tomcat-embed-websocket-9.0.12.jar!/META-INF/web-fragment.xml:18:3:18:3: problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://xmlns.jcp.org/xml/ns/javaee
  </code></pre>
  
  <p>Has anyone encountered this error and if so what is the way to fix it?</p>
  
  <p>P.S. I've read one answer about creating web.xml file and changing web-app versions but I've also tried that and it didn't work.</p>