Skip to content

Tag: spring-roo

Error in Java Import statement “The import javax.validation.constraints.NotNull cannot be resolved”

Iam new to Java and Spring Framework. After developing Spring roo project, I found following errors in class : Iam using STS 3.1.0.RELEASE Can some one guide me what Iam doing and how it can be rectified. Thanks in advance Answer The jar containing this class must be added to the build path of your project: http://mvnrepository.com/artifact/javax.validation/validation-api/1.0.0.GA