I created a seam 2.3.1 project using seam gen and then did generate-entities. When I open the project in NetBeans, the src/main folder showed a bunch of errors. The errors were for imports "javax.persistence.*" and "javax.validation.constraints.*".
This can be fixed by adding the "hibernate-jpa-2.0-api.jar" and "validation-api.jar" to the class path (under 'Source Package Folder 'src/main').
I searched in the JIRA issue list and couldn't find an issue for the same. Has anyone else encountered this issue?