1、 Error description

Microsoft Windows [ edition 6.1.7601]
copyright (c) 2009 Microsoft Corporation. All rights reserved .
C:\Users\Administrator>d:
D:\>ant
Buildfile: D:\build.xml
BUILD FAILED
D:\build.xml:2: No content is allowed in the foreword .
Total time: 0 seconds
D:\>

2、 The reason for the error

3、 terms of settlement

BUILD FAILED D:\build.xml:2: No content is allowed in the foreword . More articles about

  1. BUILD FAILED D:\build.xml:2: The preface does not agree with the content .

    1. Wrong description Microsoft Windows [ Version number 6.1.7601] All rights reserved (c) 2009 Microsoft Corporation. All rights reserved . C:\Users\Admi ...

  2. org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException No content is allowed in the foreword From classpath resources XML Number... In the document 1 Line is invalid

    Review today Spring and Hibernate Integration of , There's a problem , The error information is as follows : org.springframework.beans.factory.xml.XmlBeanDefinitionSto ...

  3. idea Report errors .Error:Failed to load project configuration: cannot parse xml file E:\project\.idea\workspace.xml: Error on line 1: No content is allowed in the foreword .

    Because the computer is stuck, force to restart the computer and turn it on idea, Conduct junit Unit test error : idea Report errors .Error:Failed to load project configuration: cannot parse x ...

  4. Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; No content is allowed in the foreword .

    Error creating document instance. Cause: org.xml.sax.SAXParseException;  lineNumber: 1; columnNumber ...

  5. org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; No content is allowed in the foreword .

    February 25, 2016 9:24:24 Afternoon org.apache.tomcat.util.digester.SetPropertiesRule begin Warning : [SetPropertiesRul ...

  6. About xml Loading tips : Error on line 1 of document : No content is allowed in the foreword

    I was in java Related tests done in , First, paste the error report : Read xml The configuration file :xmls\property.xml org.dom4j.DocumentException: Error on line 1 of ...

  7. Caused by: org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 49; No content is allowed in the foreword .

    I just started learning today mybatis when , Try to use it yourself mybatis Linked database , Operation data office time , The following error was reported Caused by: org.xml.sax.SAXParseException; lineN ...

  8. analysis xml String times “ No content is allowed in the foreword ” error .

    One , What happened to the problem : j be based on java Language webservic The server receives the client From the xml String use Analysis time report :org.dom4j.DocumentException: Error on line 1 o ...

  9. Use Rome Read RSS Report errors ,org.xml.sax.SAXParseException: No content is allowed in the foreword .

    This is the most wonderful mistake I've ever made new URL When , Using static variables will report an error org.xml.sax.SAXParseException: No content is allowed in the foreword . URL url = new URL(Strin ...

Random recommendation

  1. input Common properties

    about input Use , Everyone is familiar with ,<input> Tags are used to collect user information . According to type Property value , There are many forms of input fields . The input field can be a text field . Check box . Text control after mask . Radio button ...

  2. Use command parameters to specify log4j The configuration file

    http://blog.csdn.net/changong28/article/details/39717209 ******************************************* ...

  3. lucene Filter results

    package cn.itcast.h_filter; import java.util.ArrayList; import java.util.List; import org.apache.luc ...

  4. C# Create system services and execute them regularly 【 Reprint 】

    [ Reprint ]http://www.cnblogs.com/hfzsjz/archive/2011/01/07/1929898.html C# Create system services and execute them regularly 1. New projects --> Windo ...

  5. start-up Eclipse eject &ldquo;Failed to load the JNI shared library jvm.dll&rdquo; The wrong solution !

    start-up Eclipse eject "Failed to load the JNI shared library jvm.dll" The wrong solution http://blog.csdn.net/z ...

  6. [Windows Phone Learning notes ] Passing objects between pages

    stay Windows Phone in , Passing parameters between pages is similar to Web It's the same in development , adopt QueryString In the form of , But if you need to pass objects , They can't get through QueryString In form , In fact, it can , Serialize objects ...

  7. Best JavaScript Tools for Developers

    JavaScript solves multiple purposes; it helps you to create interactive websites, web applications, ...

  8. self-taught python 2.

    1.T or F 1>1 or 3<4 or 4>5 and 2>1 and 9>8 or 7<6 t not 2>1 and 3<4 or 4> ...

  9. SQL Row column conversion, data conversion to string

    Row column conversion , Convert column data to string output ) SET @center_JZHW = ( SELECT DISTINCT STUFF( ( SELECT ',' + ce_code FROM ap_cente ...

  10. grep Search text

    Regular matching : grep -E "[a-z]+" Only output matched text : echo this is a line. | grep -o -E "[a-z]+\." system ...