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.
The "Using Java Persistence in a Web-only application" sample project has an invalid persistence.xml and therefore it is not being recognized correctly. Please see issue 90305 for more information on what kind of issues it causes. The declaration should be as follows: <?xml version="1.0" encoding="UTF-8"?> <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/ /java.sun.com/xml/ns/persistence http://jav a.sun.com/xml/ns/persistence/persistence_1_0.xsd">
Update web only app with correct persistence.xml and updated sun-resources.xml
Fixed web-only BluePrint app in java.net repository. Also updated *.sun-resource to sun-resources.xml Will mark issue fixed when BluePrints module drop is made to NetBeans repository
Updated BluePrints module drop done http://deadlock.netbeans.org/fisheye/changelog/netbeans?cs=MAIN:nityad:20070727081828