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.
Target server for project is not set properly when creating persistence unit. T reproduce: - create Maven web project (Java EE 6, GlassFish 3.1.2.2) - open new file wizard - choose "Persistence|Persistence Unit" and click Next - there is a message "The target server for project is not set properly. Java Persistence features are server-dependent and some wizards in the IDE might not behave as expected if the target server is not specified." and the Database Connection combo box does not contain data sources from server. Product Version: NetBeans IDE Dev (Build 201302242300) Java: 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b02 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Likely #226348 related. *** This bug has been marked as a duplicate of bug 226348 ***