Hello, Thanks for the solution . That works fine for me too! Best regards Danie *Von:* "Rafa³ Laczek" <rafal_lac...@wp.pl> *Gesendet:* 30.09.09 04:27:17 *An:* anand_a_par...@yahoo.com *CC:* Java EE (J2EE) Programming with Passion! <JAVA-EE-J2EE-PROGRAMMING-WITH-PASSION@GOOGLEGROUPS.COM>, rchavar...@indra.es *Betreff:* Odp: [java ee programming] Re: Lab4005 - problem with hello2 - SOLUTION I have found a solution. I have scrolled down Libraries folder and noted that GlassFish is missing. As the original project is locked for edition I couldn't add this missing GlashFish. I have solved the problem by just coping the original project Hello2 under the name Hello2a and automatically the GlashFish in Libraries folder is available. I had not any problems to run the project. Now I use NB 6.7.1 I hope it will help to other people. Best regards, Rafal Laczekia 28-09-2009 o godz. 22:46 Anand A. Parikh napisa³(a): I have the same problem. I have checked that under:Tools->Options->MiscellaneousAnt Home is c:/Program Files/NetBeans 6.71./java2/ant and it is using Ant version 1.7.1. I have also checked that:c:/Program Files/NetBeans 6.71./java2/ant/extra containsorg-netbeans-modules-java-j2seproject-copylibstask.jar file Still the same error message. --- On Mon, 9/28/09, "ChavarrÃa Teruel, Rubà n" <rchavar...@indra.es> wrote: From: "ChavarrÃa Teruel, Rubà n" <rchavar...@indra.es> Subject: [java ee programming] Re: Lab4005 - problem with hello2 To: "Java EE (J2EE) Programming with Passion!" <java-ee-j2ee-programming-with-passion@googlegroups.com> Date: Monday, September 28, 2009, 9:54 AM Configuration seems to be ok. Have you checked that you has the file org-netbeans-modules-java-j2seproject-copylibstask.jar ? Check it in this path: C:Program FilesNetbeans 6.5.1java2antextra Which bundle did you download? Make sure you have downloaded a bundle that includes app server GlashFish v2.1 (I suppose you did it). See attached file. You have to choose bundle "java" or "all". Good luck, Rubà n -----Mensaje original----- De: Rafa³ Laczek [mailto:rafal_lac...@wp.pl [http://us.mc431.mail.yahoo.com/mc/compose?to=rafal_lac...@wp.pl]] Enviado el: lunes, 28 de septiembre de 2009 14:03 Para: ChavarrÃa Teruel, Rubà n CC: Java EE (J2EE) Programming with Passion! Asunto: Odp: [java ee programming] Re: Lab4005 - problem with hello2 I have checked configuration and it seems the configuration is correct. In enclose I send you print-screen of ANT configuration and ANT folder. Best regards, Rafa³ Laczek Dnia 28-09-2009 o godz. 10:14 "ChavarrÃa Teruel, Rubà n" napisa³(a): > 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 filesNetbeans <version>java2ant > > I hope this will help you Rafal > Rubà n > > -----Mensaje original----- > De: java-ee-j2ee-programming-with-passion@googlegroups.com > [http://us.mc431.mail.yahoo.com/mc/compose?to=java-ee-j2ee-programming-with-pass...@googlegroups.com] > [mailto:java-ee-j2ee-programming-with-passion@googlegroups.com > [http://us.mc431.mail.yahoo.com/mc/compose?to=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 laczekMoje > dokumentyNetBeansProjectsservletadvsampleshello2 bproject uild-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 > > [http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Frokszkolny09-10.html&sid=869] > > > > ---------------------------------------------------- Do³±cz siê do Manify! Wyjd my na ulice, w WALCE O TAÑSZE PIWO! http://klik.wp.pl/?adr=www.zatanisci.pl&sid=856 [http://klik.wp.pl/?adr=www.zatanisci.pl&sid=856] ---------------------------------------------------- Wygraj wymarzony skuter! Wyznacz najprostsz± drogê - docelu.pl - Kliknij: http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/chapman1.html&sid=863 [http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/chapman1.html&sid=863] GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter *http://movieflat.web.de* [http://movieflat.web.de] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---