How to add Log4j to Eclipse RCP project -
I have created a plug-in project from this, then I will add this plug-in to my project though, I try to use,
I found the following error: java.lang.NoClassDefFoundError: org / apache / sel4j / log4j / api / loggerfactory: java.lang.ClassNotFoundException: Org .apache.sel4j.log4j.api.LoggerFactory
What should I do?
Do you have the same setup on this screenshot?:
Note, you need to add your jar to the screenshot as shown on the screenshot, like That you will not usually do for your Java application: Right click-> Add to create path.
In addition, I would like to first suggest logging with Eclipse-RCP, it is more complete and accurate.
Comments
Post a Comment