Unable to create folder “classes” in WEB_INF folder in eclipse while building using ANT

I am using ANT to build a simple web application project named "HelloWebApp" in eclipse. But while using ANT to build the build.xml file I am getting the following error.

    Buildfile: C:\Users\bimal\workspace\HelloWebApp\build.xml
     [echo] Cleaning the build  
     [echo] Creating the build directory

C:\Users\bimal\workspace\HelloWebApp\build.xml:18: Directory C:\Users\bimal\workspace\HelloWebApp\build  \WEB-INF\classes creation was not successful for an unknown reason

Total time: 849 milliseconds

The section in build.xml file which causes error is given below.

<target name="init" depends="clean">`  
<echo>Creating the build directory</echo>
<mkdir dir="${build.dir}/WEB-INF/classes"/>
<mkdir dir="${build.dir}/WEB-INF/lib"/>
<mkdir dir="${dist.dir}"/>

Please provide me solution for this problem. Thanks in advance.


make sure that everyone has read/write permissions on that folder, use the windows permission tab on the preferences menu in the folder to check out if that's right.

Need Your Help

MySQL Table Design for a Questionnaire

database database-design

I am fairly new to MySQL and have a project in which I need to design a database that will store responses from an online questionnaire. Reports will need to be written from the data. Does anyone...

EPUB reader/viewer in PHP

php html5 cakephp symfony2 epub

Is there any module/script available which reads/views EPUB files in a web browser?

Slow Script Error in IE When running sahi test

testing internet-explorer-8 automated-tests functional-testing sahi

IE8 is throwing a slow script error when we try and run the following sahi command (in tests/playback or "evaluate expression"):