This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes error executing ant script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "error executing ant script" Watch "error executing ant script" New topic

error executing ant script

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
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@' with empty content type cannot have text or element content.:<null>

what causes it?

Martijn Verburg

Joined: Jun 24, 2003
Posts: 3274

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).

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
It is sorta covered in the JavaRanch Style Guide.
subject: error executing ant script