The import org.eclipse.persistence.annotations.OptimisticLocking cannot be resolved [message #1769683] |
Wed, 02 August 2017 11:44 |
Eclipse User |
|
|
|

As we can see here, I do have eclipselink-v2.6.0.jar in my Maven Dependencies included in the project build path.
We can also see on the left that both
import org.eclipse.persistence.annotations.OptimisticLocking; and
import org.eclipse.persistence.annotations.OptimisticLockingType;
classes are in the org.eclipse.persistence.annotations package.
But Eclipse keeps saying that they can't be resolved.
It can also be seen above a test that I've done : I tried to include all the annotations package :
import org.eclipse.persistence.annotations.*;
and it looks like Eclipse know what it is as no errors is to be seen here.
Though, the errors in the utilisation of OptimisticLocking stays. So it feels like Eclipse sees annotations, but it thinks it's empty. And afterward I noticed the problem is the same for ALL org.eclipse.persistence packages.
What's the problem?
Thanks for the help!
|
|
|
Powered by
FUDForum. Page generated in 0.09615 seconds