• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error executing ant script

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i execute my ant script to deploy my application to weblogic, i get the following error message.

[java] weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
[java] problem: cvc-complex-type.2.1: Element 'distributable@http://java.sun.com/xml/ns/javaee' with empty content type cannot have text or element content.:<null>

what causes it?

Thanks
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lynn,

The ant task is stating the your weblogic deployment descriptor file failed XML validation. I would take your XML file and validate it independently (the ant error message probably won't give you as much info as a proper XML editor).

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic