Ads Top

NetBeans e-commerce tutorial

For those who are following the e-commerce tutorial here´s a tip:

the error: build-impl.xml:688 The module has not been deployed is caused by the persistence.xml, since we are using the ejb, you have to go in the file and delete the tag.

The correct file:


"<"persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xsi="http://www.w3.org/2001/XMLSchema-instance" schemalocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"">"
"<"persistence-unit name="AffableBeanPU" type="JTA">"
"<"jta-data-source">"jdbc/affablebean"<"/jta-data-source">"
"<"properties/">"
"<"/persistence-unit">"

Remove the quotes

NetBeans, AffableBean, Glassfish error

Salutes!!!

Nenhum comentƔrio:

Tecnologia do Blogger.