|
Re: Build Path error [message #1036667 is a reply to message #1035525] |
Mon, 08 April 2013 17:10 |
|
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.).
|
|
|
|
Powered by
FUDForum. Page generated in 0.13531 seconds