Java project which uses JON 3.2 remote client API may warn that one or more javax.persistence annotations are indirectly referenced but cannot be resolved
Issue
-
IDE reports one or more of the following types can not be resolved
The type javax.persistence.GenerationType cannot be resolved. It is indirectly referenced from required .class files The type javax.persistence.FetchType cannot be resolved. It is indirectly referenced from required .class files The type javax.persistence.CascadeType cannot be resolved. It is indirectly referenced from required .class files
-
I can see some errors in my class file.
- Project contains warning indicating that
javax.persistence.GenerationType
is indirectly referenced - Project contains warning indicating that
javax.persistence.FetchType
is indirectly referenced - Project contains warning indicating that
javax.persistence.CascadeType
is indirectly referenced
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- Java client project using JBoss ON remote API
- Java IDE such as:
- Eclipse
- Red Hat JBoss Developer Studio
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.