This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?" Watch "Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?" New topic
Author

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

Shrikant Deshpande
Greenhorn

Joined: May 17, 2010
Posts: 15

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.
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Warning: views\pages\calibration\WBCalibration.jsp modified in the future.
Copying 1 file to D:\Caliber Project\CaliberGauges10 Jun2010\build\web
library-inclusion-in-archive:

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"/>

 
Have you checked out Aspose?
 
subject: Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?
 
jQuery in Action, 3rd edition