java.lang.NoClassDefFoundError: org/hibernate/Session hibernate jars is set

后端 未结 3 622
抹茶落季
抹茶落季 2020-12-22 02:14

I inherited several projects Javas in my new job, but I\'m having some problems with settings. I\'m facing a problem that is researched so common. \"java.lang.NoClassDefFoun

3条回答
  •  感情败类
    2020-12-22 02:25

    To add jars in eclipse you have two options:

    Right click on project got to properties-->click on java build path --> configure build path--> Libraries --> and select add external jars button. It will open a window where you can add all your jars required.

    Second option is to paste jars directly to lib folder. lib folder is in Web Content --> WEB-INF --> lib.

    Use any one of them.

提交回复
热议问题