Thanks all - it is building now.  

Here is what I did:
Right click on the project
Select Properties
Select Libraries
Select compile tab
Removed the libraries that could not be found
Added the library to be found
OK

Question for the Tomcat list:  Isnt /WEB-INF/lib a Tomcat folder?  It is 
refered to in the Tomcat documentation, right? (confused look)

My question for the NetBeans list would be why didn’t it find my libraries 
after I added the libraries to the project under the Libraries folder?  But as 
Tim hinted, this question is off topic here.

Unfortunately, in my haste, I restored the code from a backup, which now needs 
to be updated...

Which leads to my other question, if I make a backup of the folders, why didn't 
just copying the the folders back in  fix it?  There seems to be multiple 
places to configure...

Thanks and regards
Joe


-----Original Message-----
From: Tim Watts [mailto:t...@cliftonfarm.org] 
Sent: Tuesday, July 24, 2012 4:04 PM
To: Tomcat Users List
Subject: RE: Project will not build

On Tue, 2012-07-24 at 15:46 -0400, Martin Gainty wrote:
> http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.servlet.jsp.
> jstl/javax.servlet.jsp.jstl-api/1.2.1
> 
> This is what youre looking for ..if the ant guy is looking the other 
> way you can easily integrate this depdency with maven3 and insert this 
> dependency into your depdendency list:
> <dependencies>
>  <dependency>
>   <groupId>javax.servlet.jsp.jstl</groupId>
>   <artifactId>javax.servlet.jsp.jstl-api</artifactId>
>   <version>1.2.1</version>
>  </dependency>
> ...........................other dependencies..................
> </dependencies>
> 
1. I don't think he's using Maven.

> if the ant guy is on top of you or has sufficient power to stop the 
> project then copy the jar from the liunk above to the location pointed 
> by ${file.reference.winzipaes-20100321.jar}

2. Red Herring.  That could be an entirely different location.

> (you should see the exact location from the reference of 
> file.reference.winzipaes-20100321.jar located somewhere at the top of 
> the build.xml) then rerun the ant script and make sure the init target 
> is executed e.g.
> ant init
> 
> Martin Gainty
> ______________________________________________
> "I know a little about Orson's childhood and seriously doubt if he 
> ever was a child..." - Joseph Cotton
> 
3. That's Joseph Cotten

> 
> > Subject: Project will not build
> > Date: Tue, 24 Jul 2012 15:11:40 -0400
> > From: bcot...@dpscs.state.md.us
> > To: users@tomcat.apache.org
> > 
> > This question concerns a Project that used to work nicely.  Now it 
> > will not build.
> > I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this 
> > project alone for a few months.
> > 
> > Now when I come back and try to build or run, it errors with this
> > message:
> > Copying 1 file to D:\Documents and Settings\cottonjb\My 
> > Documents\NetBeansProjects\MAFSS2\build\web\WEB-INF\lib
> > D:\Documents and Settings\cottonjb\My
> > Documents\NetBeansProjects\MAFSS2\nbproject\build-impl.xml:687: Warning:
> > Could not find file D:\Documents and Settings\cottonjb\My 
> > Documents\Downloads\javax.servlet.jsp.jstl-api-1.2.1-javadoc.jar to 
> > copy.
> > BUILD FAILED (total time: 0 seconds)
> > 
> > It refers to this in build-impl.xml:
> >     <target depends="init" name="library-inclusion-in-archive"
> > unless="dist.ear.dir">
> >         <copyfiles files="${file.reference.winzipaes-20100321.jar}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >         <copyfiles
> > files="${file.reference.javax.servlet.jsp.jstl-api-1.2.1-javadoc.jar}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >         <copyfiles
> > files="${file.reference.javax.servlet.jsp.jstl-api-1.2.1-sources.jar}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >         <copyfiles
> > files="${file.reference.javax.servlet.jsp.jstl-api-1.2.1.jar}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >         <copyfiles files="${file.reference.jstl-1.2.jar}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >         <copyfiles files="${libs.JSP121.classpath}"
> > todir="${build.web.dir}/WEB-INF/lib"/>
> >     </target>
> > 
> > 
> > I manually added the javax.servlet.jsp.jstl-api-1.2.1-javadoc.jar to 
> > the NetBeans library and the Project library.
> > 
> > The winzip jar is found.  The jsp jars are not found.  Am I reading 
> > this correctly?
> > 
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
>                                         

Reply via email to