This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons 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
Author

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@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

Joined: Jun 24, 2003
Posts: 3274
    
    5

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: http://aspose.com/file-tools
 
subject: error executing ant script
 
Similar Threads
What is ANT used for
debugging with ANT
Struts 2 / Tiles / Tiny MCE
Eclipse Content Assist is not working while creating a project from an ant build file
deployment error