I have a JPA @Entity class Place
, with some properties holding some information about a place, such as name of place, description, and URLs of some images.
For the URLs of images, I declare a List<Link>
in my entity.
However, I am getting this error:
Basic attribute type should not be a container.
I tried to remove @Basic
, but the error message is still there. Why does it shows this error?
The error seems not have impact on GAE since I can run the app and store data into storage. I guess it's a bug in IntelliJ IDEA and you can simply ignore it.