Java – Eclipse Helios: Tomcat project – jar will not be exported or published Runtime may cause classnotfoundexceptions
I'm using eclipse Helios. I want to know how to add the library project to my folder, which will be copied to the build directory where the project I compiled is located
At present, I have done the following:
>Create a lib directory in the root directory of my project > copy related cans to that Directory > my project – > properties – > java build path – > Add cans. I added all cans in this directory
After adding all jars, I get the following warning about each jar file:
jar will not be exported or published. runtime ClassNotFoundExceptions may result
First, how do I add a directory of cans instead of individual cans? The second question is how to properly deploy libraries when compiling applications?
Solution
It can be:
>A simple refresh period:
>Process problems (starting from cached blog entry, original one is unavailable):
>Project configuration problem
OP Ufk mentioned in the comments: