Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

unable to compile my java program in netbeans

$
0
0
run:
C:\Users\PEARL\AppData\Local\NetBeans\Cache\7.2.1\executor-snippets\run.xml:48: 
Cancelled by user.
BUILD FAILED (total time: 1 second)

<project name="{0} (run)" default="run" basedir=".">
    <target name="run">        
        <translate-classpath classpath="${classpath}" targetProperty="classpath-translated" />
        <property name="run.jvmargs" value="" />
        <property name="work.dir" value="${basedir}"/>
        <property name="application.args" value="" />
        <java classpath="${classpath-translated}" classname="${classname}" dir="${work.dir}" jvm="${platform.java}" fork="true">
            <jvmarg value="-Dfile.encoding=${encoding}"/>
            <redirector inputencoding="${encoding}" outputencoding="${encoding}" errorencoding="${encoding}"/>
            <jvmarg line="${run.jvmargs}" />
            <arg line="${application.args}" />
            <syspropertyset>
                <propertyref prefix="run-sys-prop."/>
                <mapper from="run-sys-prop.*" to="*" type="glob"/>
            </syspropertyset>
        </java>
    </target>
</project>



i am not able to compile my code the error what i am getting is in my xml file: run.Xml and error what i am getting is:
run:
C:\Users\PEARL\AppData\Local\NetBeans\Cache\7.2.1\executor-snippets\run.xml:48:
Cancelled by user.
BUILD FAILED (total time: 1 second)

actually i am running the code in netbeans. and i have run my Entry.java file from net beans and due to which i am getting above error i think the system automatically cancells the build. i have made an gui from netbeans but due to some problem i copy and pasted the gui components in another windows form; before that it was running no problem but after pasting it started to show the above error. please help..! :-( –

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>