Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Build Path error(Missing required library)
Build Path error [message #1035525] Sat, 06 April 2013 21:51 Go to next message
David Knutson is currently offline David Knutson
Messages: 2
Registered: April 2013
Junior Member
I'm attempting to recompile an old app. I've pulled it into Eclipse from my cvs repository without a problem, except that it's saying - "Project is missing required library: \resources\lib\servlet-2.3.jar"

I've located and downloaded servlet-2.3.jar, but where do I locate the \resources\lib folder? It wasn't created with the cvs download. I tried creating it in my Java folder and I've also tried creating folder c:\resources\lib\servlet-2.3.jar and repointing the build path in Eclipse to this location, but I still get the error. So, where should the \resources\lib folder be?
Re: Build Path error [message #1036667 is a reply to message #1035525] Mon, 08 April 2013 13:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3138
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 4/8/2013 9:14 AM, David Knutson wrote:
> I'm attempting to recompile an old app. I've pulled it into Eclipse
> from my cvs repository without a problem, except that it's saying -
> "Project is missing required library: \resources\lib\servlet-2.3.jar"
>
> I've located and downloaded servlet-2.3.jar, but where do I locate the
> \resources\lib folder? It wasn't created with the cvs download. I
> tried creating it in my Java folder and I've also tried creating folder
> c:\resources\lib\servlet-2.3.jar and repointing the build path in
> Eclipse to this location, but I still get the error. So, where should
> the \resources\lib folder be?

The project should be a Dynamic Web Project and you simply locate the
JAR and drop it anywhere you like into your project. (I keep my
third-party JARs in a subdirectory, lib, off the project root.) Then,
using Build Path, you add the JAR to the classpath (what Build Java Path
does) AND you also add this JAR via Deployment Assembly (right-click on
project, choose Properties -> Deployment Assembly, click Add,
double-click Java Build Path Entries, etc.).
Re: Build Path error [message #1036686 is a reply to message #1036667] Mon, 08 April 2013 13:34 Go to previous message
David Knutson is currently offline David Knutson
Messages: 2
Registered: April 2013
Junior Member
I did what you suggested and it works. Thanks for the tip!
Previous Topic:Error reading PNG metadata
Next Topic:Trouble importing snippets
Goto Forum:
  


Current Time: Fri Aug 01 20:42:03 EDT 2014

Powered by FUDForum. Page generated in 0.01501 seconds