It might be a problem with Ant. Do you have Ant correctly configured? I attach a screenshot of my Ant configuration. I am using Netbeans 6.1 and I didn't have any problem running hello2 from Lab4005 exercise. You will find Ant configuration in Netbeans menu Tools->Option->Miscellaneous.
The path for Ant installation must point to: C:\Program files\Netbeans <version>\java2\ant I hope this will help you Rafal Rubén -----Mensaje original----- De: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] En nombre de Rafal Laczek Enviado el: sábado, 26 de septiembre de 2009 12:16 Para: Java EE (J2EE) Programming with Passion! Asunto: [java ee programming] Lab4005 - problem with hello2 Hello Colleagues, I have a problem to run hello2 When I select hello2 from sample directory I receive communicate about access rejection and when I try to run the project in output there is following communicate: C:\Documents and Settings\rlaczek\Moje dokumenty\NetBeansProjects\servletadv\samples\hello2\nbproject\build-impl.xml:366: The libs.CopyLibs.classpath property is not set up. This property must point to org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part of NetBeans IDE installation and is usually located at <netbeans_installation>/java<version>/ant/extra folder. Either open the project in the IDE and make sure CopyLibs library exists or setup the property manually. For example like this: ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar BUILD FAILED (total time: 0 seconds) In enclose I send the print-screen with both communicates and also print-screen with libraries. I use NB 6.5.1 Please help. Regards, Rafał Laczek ---------------------------------------------------- Rok szkolny 2009/2010. Zobacz co cię czeka: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Frokszkolny09-10.html&sid=869 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
<<attachment: ant-config.gif>>