This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 134103 [details] exception stacktrace Product Version: NetBeans IDE Dev (Build 201305032300) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 Steps to reproduce: Create new web project with hibernate support with default bundled derby database. Create hibernate.reveng.xml file Open wizard to create mapping files. Wizard shows an error: Hibernate configuration fails with message: Unable to get the default Bean Validation factory see message.log for exception details. See exception stacktrace in attachment
This is 7.4 only, does not affect 7.3.1, right? Adding the 731-not-a-stopper whiteboard.
I'll reverify, there should be no changes in hibernate area in 7.3.1 but may be some changes in others and may affect this issue.
verified, not reproducible in 7.3.1
As a workaround, classes can be created in j2se. Also I see the issue is here for a long time, can't verify yet if it used to work after library update in web project.
disable javax.validation.* classes loading. it;s not loaded in j2se and hibernate support do not handle ee specific feature, it should be ok to fix this way in my opinion and may be later review if validation can be enabled and what for it can be used (by nb functionality). http://hg.netbeans.org/web-main/rev/cb5684b976dc
Integrated into 'main-golden', will be available in build *201305082300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cb5684b976dc User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #229347 do not load javax.validation.* classes