Issue
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.
src="https://i.stack.imgur.com/BWkDD.png" alt="enter image description here" />
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?
Solution
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.
Answered By - Hesam
Answer Checked By - Marie Seifert (JavaFixing Admin)