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.

Bug 226649 - Target server for project is not set properly
Summary: Target server for project is not set properly
Status: VERIFIED DUPLICATE of bug 226348
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-25 12:43 UTC by Jiri Skrivanek
Modified: 2013-03-05 09:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-02-25 12:43:04 UTC
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)
Comment 1 Martin Fousek 2013-02-25 12:56:22 UTC
Likely #226348 related.

*** This bug has been marked as a duplicate of bug 226348 ***