Class file not found in IntelliJ

前端 未结 8 1431
孤独总比滥情好
孤独总比滥情好 2020-12-15 17:59

In IntelliJ I get this weird error when I try to compile.

Cannot find annotation method \'cascade()\' in type \'javax.persistence.ManyToOne\': class file for         


        
8条回答
  •  孤街浪徒
    2020-12-15 18:33

    I'm sure, it is too late to answer, but I had to follow a different approach for this error to resolve this issue.

    I had to create this as global library and add that library to the module, then only the error is resolved.

    Add this as a global library

    Then add that library as dependency to the project

提交回复
热议问题