java - Error in adding a library to a project in eclipse luna -
I wanted to add Eclipse links library to my project, I went to eclipse and installed Eclipse Link 2.5 Kepler . I have an IDE luna, which comes after Kepler, so error is probably due to the difference in the versions, is there a way to ensure that this real cause is nothing else? See the screenshot below.
Edit : I tried to do this - click on User Library> Expand EclipseLine 2.5. This indicates that the library for the eclipse link is missing (all red cross). How can that be? I installed the eclipse link in eclipse and restarted it.
Edit: I noticed that the path on each error is pointing to the old location of my workspace (I'm copying it in another folder and removing old workspace There were still some files in the workspace). I wonder how I will fix it.
I wanted to add Eclipse links to my list of eclipsed user libraries. Step Eclipse> Window> Preferences> Search Term = User Library I saw the eclipse link in that list, but there were errors below it:
After the names of the jars were read by my old workspace path: (missing).
The error was because the eclipse was trying to get the eclipse link libraries from the old workspace, which I deleted after copying it to a new folder. Some of this directory remains. This is probably because the Eclipse link installed in the old workspace was to be added as a System Library, i.e. Not on boot class path and as user library. Not sure.
Anyway, I have decided: The old, incorrect library has been removed in the same old user library window. Then, go to> New> User Library name = EclipseLink 2.5 > OK> Add external jar> Folder where Eclipse Link Library is installed / downloaded. Select each jar in your libel or library folder, which is 'EclipseLink 2.5.0 - Kepler ElleSpellik \ Jelib'. You really do not need all jars, but do it for peace of mind.
Note that sometimes the Add external jar button will be disabled / grayed up, enabling it For, select or highlight the name of the library initially, ie EclipseLink 2.5 .
Once he has added all the jars and click OK.
then check the box below Make and finish.
Finally click OK .
Comments
Post a Comment