Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Build Path error(Missing required library)
Build Path error [message #1035525] Sun, 07 April 2013 01:51 Go to next message
David Knutson is currently offline David KnutsonFriend
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 17:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
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 17:34 Go to previous message
David Knutson is currently offline David KnutsonFriend
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: Tue Apr 16 10:57:52 GMT 2024

Powered by FUDForum. Page generated in 0.27894 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top