reset password
Author Message
Pooja
Posts: 2
Posted 15:05 Feb 01, 2016 |

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

I got this error while running the hbm2ddl.java file.I have installed all the jar files correctly.

Please suggest me some solution.I googled the error but It says me to install some aditional jar files too.Is it necessary? I am using the latest version of eclipse-mars.

cysun
Posts: 2935
Posted 16:11 Feb 01, 2016 |

I think this dependency is not needed if you used the dependency versions specified in the guide, but in any case, adding a dependency slf4j-log4j12 should fix the problem.