I am following a you tube tutorial about Hibernate by Telusko Learnings.
But I keep getting the error in the subject.
I have checked my getters and setters for errors and there are none, there are no missing jars that Maven forgot to download and I am very frustrated.
I have shared the entire project and errors on Git Hub (https://github.com/ishonowo/hibernate-tut/tree/master/DemoHib).
答案 0 :(得分:-1)
堆栈跟踪提供了有关错误原因的所有信息。可以看出失败的原因是缺少类:
Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodFilter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 23 more
我最好的猜测是你的依赖是错误的。为了确定,我会继续进行双重检查。