Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding header to web.xml causes appc to report basic compile problems  RSS feed

Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
** I get basic java compile problems reporting classpath issues about java.util.List, Date etc if I use following header on top of web.xml

** The appc works fine If I change the header to following:
<web-app xmlns="">

But keeping above header gives me following warning message:
<Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in X:\TEMP\appcgen_1312819326158_maap_app.ear\appcgen_1312819326158_maap_web.war/WEB-I <br /> NF/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.>

Not sure what causes appc to fail when I use proper header.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!