This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?

Shrikant Deshpande
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using NetBeans IDE 6.5.1 with Struts 1.2.9 and Apache Tomcat 6.0.18.

When I try to run the Struts application in NetBeans IDE the following error occurs.

How to resolve this error...? Please help me.

Could not load definitions from resource org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could not be found.
Warning: views\pages\calibration\WBCalibration.jsp modified in the future.
Copying 1 file to D:\Caliber Project\CaliberGauges10 Jun2010\build\web

D:\Caliber Project\CaliberGauges10 Jun2010\nbproject\build-impl.xml:520: Problem: failed to create task or type copyfiles
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 0 seconds)

Following is the content of nbproject\build-impl.xml file.

<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
<copyfiles files="${libs.struts.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic