Absent Code attribute in method that is not native

为什么80%的码农都做不了架构师?>>>   hot3.png

从网上一搜,最有意思的解法是怪罪javaee-api 6的问题。

我们每个人面临的问题都不一样,难道删除javaee-api 6就是万能钥匙?

javaee-api 依赖配置:


            javax
            javaee-api
            6.0
            provided
            
        

而正如摘要上所示的异常:

javax/persistence/PersistenceException

我们只需要添加persistence-api就可以解决了;


            javax.persistence
            persistence-api
            1.0
        



转载于:https://my.oschina.net/boonya/blog/670930

你可能感兴趣的:(Absent Code attribute in method that is not native)