求大神指點(diǎn)
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Entity ?這是幾個(gè)意思 ? 沒(méi)錯(cuò)啊
2016-10-03
可能是少了jpa的jar
2016-10-01
我知道,但是就不告訴你
2016-10-01
可能是hibernate.cfg.xml里的resource路徑寫錯(cuò)了