Here is how I resolved the problem:
1. Had administrator log in and give me write permission to the install
folder.
2. Deleted all Netbeans configuration files from my user profile.
3. Opened Netbeans.
4. Created a default web application and ran it. ( It said something
about configuring j2ee)
I don't know if all the steps are required. It is just what I did and
it worked. Perhaps someone much smarter than I could look into why write
permission is required on the install folder to run web application from
Netbeans.
Paul
-----Original Message-----
From: Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN
[mailto:
Paul.Dobson@...]
Sent: Wednesday, July 01, 2009 2:31 PM
To:
nbusers@...
Subject: RE: [nbusers] problem running or building JSP application after
upgrade to 6.7
I did just replace my computer with Vista and my job has my machine
locked down very tight. I only have write access to my profile. I
noticed the problem occurs when I create a new jsp web application
project without source as well. It seems that my Netbeans install out
of the box cannot create web applications. Could this be a Vista thing
or possibly Netbeans is trying to write the Ant config file to the
install directory?
Thanks in advance for any ideas.
Thanks
Paul
-----Original Message-----
From: Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN
[mailto:
Paul.Dobson@...]
Sent: Wednesday, July 01, 2009 10:20 AM
To:
nbusers@...
Subject: RE: [nbusers] problem running or building JSP application after
upgrade to 6.7
Forgive my ignorance. I do not know much about Ant except that Netbeans
generally does a good job at integrating it. I do know that my
project.properties file has the fillowing line:
build.web.dir=${build.dir}/web
Is this what you are referring to? If not, could you tell me where else
I should be looking. I am not sure where my antlib.xml or the properties
file should be.
Thanks!
Paul Dobson
-----Original Message-----
From: Melongo Annabel [mailto:
melongo_annabel@...]
Sent: Tuesday, June 30, 2009 7:54 PM
To:
nbusers@...
Subject: Re: [nbusers] problem running or building JSP application after
upgrade to 6.7
Does your antlib.xml has a properties file? I think that's the file
missing. The system is trying to find the value of ${build.web.dir} but
it doesn't seem to see where it's defined.
________________________________
From: "Dobson, Paul L CTR USAF AFMC 416 SCMS/OBN"
<
Paul.Dobson@...>
To:
nbusers@...
Sent: Tuesday, June 30, 2009 3:28:42 PM
Subject: [nbusers] problem running or building JSP application after
upgrade to 6.7
I have a JSP application which I manage. I upgraded from 6.0 to 6.7 and
get the following error if I try to run/compile the program:
-----------------------------------------------------------------------
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:
C:\Users\Paul.Dobson\Documents\NB
Projecs\WebTool\nbproject\build-impl.xml:531: 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.
------------------------------------------------------------------------
-----------
The following is a snippet from my build-impl.xml line 531:
<target depends="init" name="library-inclusion-in-archive"
unless="dist.ear.dir">
<copyfiles files="${file.reference.jcifs-1.1.0.jar}"
todir="${build.web.dir}/WEB-INF/lib"/> (This is line 531)
<copyfiles files="${file.reference.jcommon-1.0.9.jar}"
todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jfreechart-1.0.5.jar}"
todir="${build.web.dir}/WEB-INF/lib"/>
Thank you in advance for any ideas on how to resolve the error.