java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/PersistenceException

ⅰ亾dé卋堺 提交于 2019-11-30 15:42:55

Well I had the same problem, I am using netbeans 7.3.1 and when I create a facade database in my class library I was getting the error (using JAva 7 and Glassfish 4)

The problem I was having was when you use the insert code and automatic bean creation it adds the Java EE 6 API library . I deleted the library and add the Java EE 7 API. It worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!