Rasmita jena
Rasmita jena

Reputation: 183

why this eclipse error showing and what should be the solution for it

Missing library: xdoclet-1.2.1.jar. Select the home directory for XDoclet. 1.2.1

why this eclipse error showing and what should be the solution for it alz

Upvotes: 4

Views: 26473

Answers (4)

Deepak Sharma
Deepak Sharma

Reputation: 1

Please add maven dependency in your project . Steps are - 1- Right Click on Project 2- select configure build path 3- select library tab 4- add library and select Maven Dependencies 5- apply and Apply and Close .

Upvotes: -2

vinsinraw
vinsinraw

Reputation: 2125

If have maven version of the project, can also try by updating the project. I also had this XDoclet. 1.2.1.jar complaint, which got resolved once I update the project.

Right Click Project > Maven > Update Project ... > Check the projects > OK.

Upvotes: 2

ZuberFowler
ZuberFowler

Reputation: 233

I downloaded the xdoclet-lib-1.2.3.zip file from: http://sourceforge.net/projects/xdoclet/files/xdoclet/1.2.3/ unziped it to its folder name, xdoclet-1.2.3, and then from the Eclipse (I was using 4.5) preferences JavaEE -> XDoclet tab selected the Version 1.2.3 and then the Browse button to the xdoclet-1.2.3 folder. Apply and OK and Eclipse error goes away.

Saying all that, I suspect you don't really need it unless you know that you are using xdoclet. If that's the case and it was intentionally left out then the error message should be fixed in Eclipse. I only went around fixing it because of the message.

Upvotes: 3

Leo
Leo

Reputation: 5235

It is causing possibly because that jar is not added to your project build path. Follow this steps:

Right click on project(in the package explorer) 
-> Buid Path 
-> Configure Build Path 
-> Java Build Path
-> Libraries tab
-> Add JARs button

Then locate the folder where the jar resides. You can filter your search by typing *.jar in the search field. And then click ok.

Upvotes: 7

Related Questions