File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Unable to Run Web application with Struts 1.2 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 » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?" Watch "Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?" New topic
Author

Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?

Shrikant Deshpande
Greenhorn

Joined: May 17, 2010
Posts: 15

I am using NetBeans IDE 6.5.1 , created a Web application using Struts 1.2.9 and Apache Tomcat 6.0.18 server

When I Run the application , the following error occurs at run time.

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

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:
library-inclusion-in-archive:
D:\MYPROJECTS\LoginPage\nbproject\build-impl.xml:508: 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)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Looks like a NetBeans issue.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Shrikant Deshpande wrote:I am using NetBeans IDE 6.5.1


That is a very old version of Netbeans. 6.9 is (or will be soon) out.
6.8 has been out a long time.

Since it looks like you have a netbeans issue, I suggest you upgrade to something more modern.
You are not likely to find much support for such an ancient version.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?