Parse Neatbeans (common error) Build-impl.xml:305:compile Failed_java

Source: Internet
Author: User
Tags mkdir
The configuration of the row where the javac part of the build failure is mentioned first in a build-impl.xml
Copy Code code as follows:

<sequential>
<property location= "${build.dir}/empty" name= "Empty.dir"/>
<mkdir dir= "${empty.dir}"/>
<mkdir dir= "@{apgeneratedsrcdir}"/>
<javac debug= "@{debug}" deprecation= "${javac.deprecation}" destdir= "@{destdir}" encoding= "${source.encoding}" Excludes= "@{excludes}" executable= "${platform.javac}" fork= "Yes" Includeantruntime= "false" includes= "@{includes}" Source= "${javac.source}" srcdir= "@{srcdir}" target= "${javac.target}" tempdir= "${java.io.tmpdir}" >
<src>
<dirset dir= "@{gensrcdir}" erroronmissingdir= "false" >
<include name= "*"/>
</dirset>
</src>
<classpath>
<path path= "@{classpath}"/>
</classpath>
<span style= "COLOR: #ff0000" ><compilerarg line= "${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line= "${javac.compilerargs}"/>
<compilerarg value= "-processorpath"/>
<compilerarg path= "@{processorpath}:${empty.dir}"/>
<compilerarg line= "${ap.processors.internal}"/>
<compilerarg value= "-S"/>
<compilerarg path= "@{apgeneratedsrcdir}"/>
<compilerarg line= "${ap.proc.none.internal}"/>
<customize/></SPAN>
</javac>
</sequential>

There is nothing wrong with the program itself, but when the compiler is built, it reports
f:\ Project \subversion\svn2010\jwebplus3\trunk\src\webplus3\webplus3\nbproject\build-impl.xml:868:the following Error occurred while executing this line:
F:\ Project \subversion\svn2010\jwebplus3\trunk\src\webplus3\webplus3\nbproject\build-impl.xml:305:compile failed; The compiler error output for details.
Build failed (Total time: 12 seconds)
Let's see what 305 lines are.
<javac debug= "@{debug}" deprecation= "${javac.deprecation}" destdir= "@{destdir}" encoding= "${source.encoding}" Excludes= "@{excludes}" executable= "${platform.javac}" fork= "Yes" Includeantruntime= "false" includes= "@{includes}" Source= "${javac.source}" srcdir= "@{srcdir}" target= "${javac.target}" tempdir= "${java.io.tmpdir}" >
In fact, we removed
Copy Code code as follows:

<span style= "COLOR: #ff0000" > <compilerarg line= "${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line= "${javac.compilerargs}"/>
<compilerarg value= "-processorpath"/>
<compilerarg path= "@{processorpath}:${empty.dir}"/>
<compilerarg line= "${ap.processors.internal}"/>
<compilerarg value= "-S"/>
<compilerarg path= "@{apgeneratedsrcdir}"/>
<compilerarg line= "${ap.proc.none.internal}"/>
<customize/></SPAN>

This paragraph, build again, succeed!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.