File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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"/>

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?
 
Similar Threads
I can't manual start Glassfish V2 for some reason. Please Help me.
Unable to Run web application in Netbeans IDE6.5.1...?
Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?
module has not been deployed
Struts 2 Problem - The module has not been deployed.. Please help