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 Laczek

ia 28-09-2009 o godz. 22:46 Anand A. Parikh napisał(a):
I have the same problem. I have checked that under:
Tools->Options->Miscellaneous
Ant 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 contains
org-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 Files\Netbeans 6.5.1\java2\ant\extra

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]
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 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-passion@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
>
>
>
>
----------------------------------------------------
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







----------------------------------------------------
Wygraj wymarzony skuter!
Wyznacz najprostszą drogę - docelu.pl - Kliknij:
http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/chapman1.html&sid=863
--~--~---------~--~----~------------~-------~--~----~
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?...
-~----------~----~----~----~------~----~------~--~---

Reply via email to