Oracle Weblogic Server (MOSC)

MOSC Banner

Version attribute required warning.

edited Jan 1, 2012 9:37PM in Oracle Weblogic Server (MOSC) 4 commentsAnswered
Running WLS 10.3.4.  When I deploy a j2ee app, I am getting this warning:

"<Warning> <Munger> <BEA-2156203> <A version attribute was not found in
element web-app in the deployment descriptor in .../web.xml. A version attribute is required, but this version of
the Weblogic Server will assume that the JEE5 is used. " 

I tried modifying the element to:  <web-app version = "5">  Then I get an error:

weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
  problem: cvc-enumeration-valid: string value '5' is not a valid enumeration va
lue for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee:<null
>

So, I then tried <web-app version = "2.5">

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center