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?:  Enter image details here

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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -