File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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: 3275

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.
I agree. Here's the link:
subject: error executing ant script
It's not a secret anymore!