Bom dia, estou tendo problemas na criação das tabelas com o hibernate:
Tenho a classe onde eu tenho o meu @PersistenceContext:
package br.com.partiu.service;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
* @author fellipealvesdesouza@gmail.com
*/
public class ProposalService {
@PersistenceContext
private EntityManager manager;
}
E tenho o meu persistence.xml:
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
version="2.1">
<persistence-unit name="partiu" transaction-type="JTA">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<jta-data-source>jdbc/rest</jta-data-source>
<class>br.com.partiu.models.User</class>
<properties>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.format_sql" value="true" />
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/>
</properties>
</persistence-unit>
</persistence>
Quando eu rodo o projeto no glassfish, ele apresenta a seguinte mensagem:
C:\Dev\Servers\glassfish4\glassfish\bin\asadmin.bat start-domain domain1
Attempting to start domain1.... Please look at the server log for more details.....
"C:\Program Files (x86)\Java\jdk1.8.0_111\bin\java" -Dfile.encoding=windows-1252 -classpath "C:\Dev\Servers\glassfish4\glassfish\modules\javax.ejb-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.servlet-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.servlet.jsp-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules;C:\Dev\Servers\glassfish4\glassfish\modules\acc-config.jar;C:\Dev\Servers\glassfish4\glassfish\modules\admin-cli.jar;C:\Dev\Servers\glassfish4\glassfish\modules\admin-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\admin-util.jar;C:\Dev\Servers\glassfish4\glassfish\modules\amx-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\amx-javaee.jar;C:\Dev\Servers\glassfish4\glassfish\modules\annotation-framework.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ant.jar;C:\Dev\Servers\glassfish4\glassfish\modules\antlr-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\api-exporter.jar;C:\Dev\Servers\glassfish4\glassfish\modules\appclient-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\appclient-server-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\appclient.security.jar;C:\Dev\Servers\glassfish4\glassfish\modules\asm-all-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.configadmin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.eventadmin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.fileinstall.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.command.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.shell.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\org.apache.felix.scr.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-cdi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-ee-resources.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-ejb-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-http.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-javaee-base.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-jdbc.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-jpa.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-jta.jar;C:\Dev\Servers\glassfish4\glassfish\modules\autostart\osgi-web-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\backup.jar;C:\Dev\Servers\glassfish4\glassfish\modules\bean-validator-cdi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\bean-validator.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cglib.jar;C:\Dev\Servers\glassfish4\glassfish\modules\class-model.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cluster-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cluster-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cluster-ssh.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-ejb-mapping.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-enhancer.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-generator-database.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-model.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-support-ejb.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-support-sqlstore.jar;C:\Dev\Servers\glassfish4\glassfish\modules\cmp-utility.jar;C:\Dev\Servers\glassfish4\glassfish\modules\com.ibm.jbatch-ri-spi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\com.ibm.jbatch-runtime-all.jar;C:\Dev\Servers\glassfish4\glassfish\modules\common-util.jar;C:\Dev\Servers\glassfish4\glassfish\modules\concurrent-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\concurrent-impl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\config-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\config-types.jar;C:\Dev\Servers\glassfish4\glassfish\modules\connectors-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\connectors-inbound-runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\connectors-internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\connectors-runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-cluster-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-common-full-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-community-branding-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-concurrent-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-corba-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-ejb-lite-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-ejb-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-jca-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-jdbc-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-jms-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-jts-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-plugin-service.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-updatecenter-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\console-web-plugin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\container-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\dataprovider.jar;C:\Dev\Servers\glassfish4\glassfish\modules\dbschema-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-autodeploy.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-client.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-javaee-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\deployment-javaee-full.jar;C:\Dev\Servers\glassfish4\glassfish\modules\dol.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ejb-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ejb-full-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ejb-internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ejb.security.jar;C:\Dev\Servers\glassfish4\glassfish\modules\endorsed\javax.annotation-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\endorsed\jaxb-api-osgi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\endorsed\webservices-api-osgi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\entitybean-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\flashlight-extra-jdk-packages.jar;C:\Dev\Servers\glassfish4\glassfish\modules\flashlight-framework.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-admingui-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-client-module.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-connectors-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-ejb-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-jms-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-jms-injection.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-jpa-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-load-balancer-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-restadmin-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-web-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gf-weld-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-batch-commands.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-batch-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-corba-csiv2-idl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-corba-internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-corba-omgapi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-corba-orb.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-ee-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-extra-jre-packages.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-grizzly-extra-all.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-mbeanserver.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-naming.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-oracle-jdbc-driver-packages.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish-registration.jar;C:\Dev\Servers\glassfish4\glassfish\modules\glassfish.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gmbal.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gms-adapter.jar;C:\Dev\Servers\glassfish4\glassfish\modules\gms-bootstrap.jar;C:\Dev\Servers\glassfish4\glassfish\modules\guava.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ha-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ha-file-store.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ha-shoal-cache-bootstrap.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ha-shoal-cache-store.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2-config.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2-locator.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2-runlevel.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2-utils.jar;C:\Dev\Servers\glassfish4\glassfish\modules\hk2.jar;C:\Dev\Servers\glassfish4\glassfish\modules\inmemory.jacc.provider.jar;C:\Dev\Servers\glassfish4\glassfish\modules\internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\j-interop-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jackson-core-asl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jackson-jaxrs.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jackson-mapper-asl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jackson-xc.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jaspic.provider.framework.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javaee-kernel.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javamail-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javamail-runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.batch-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.el.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.enterprise.concurrent-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.enterprise.concurrent.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.enterprise.deploy-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.faces.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.inject.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.interceptor-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.jms-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.json.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.mail.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.management.j2ee-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.persistence.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.resource-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.security.auth.message-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.security.jacc-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.servlet.jsp.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.servlet.jsp.jstl-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.servlet.jsp.jstl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.transaction-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.websocket-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.ws.rs-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.xml.registry-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\javax.xml.rpc-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jaxb-extra-osgi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jaxb-osgi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jdbc-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jdbc-config.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jdbc-runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-bean-validation.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-client.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-container-grizzly2-http.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-container-servlet-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-container-servlet.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-gf-cdi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-gf-ejb.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-json-jackson.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-json-jettison.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-json-processing.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-moxy.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-multipart.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-media-sse.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-mvc-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-mvc-jsp.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-mvc.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jersey-server.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jettison.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jms-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jms-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jmxremote_optional-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jpa-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jsf-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jsftemplating.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jsonp-jaxrs.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jspcaching-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jsr109-impl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jstl-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jta.jar;C:\Dev\Servers\glassfish4\glassfish\modules\jts.jar;C:\Dev\Servers\glassfish4\glassfish\modules\kernel.jar;C:\Dev\Servers\glassfish4\glassfish\modules\launcher.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ldapbp-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\libpam4j-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\load-balancer-admin.jar;C:\Dev\Servers\glassfish4\glassfish\modules\logging.jar;C:\Dev\Servers\glassfish4\glassfish\modules\management-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\metro-glue.jar;C:\Dev\Servers\glassfish4\glassfish\modules\mimepull.jar;C:\Dev\Servers\glassfish4\glassfish\modules\monitoring-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\nucleus-grizzly-all.jar;C:\Dev\Servers\glassfish4\glassfish\modules\nucleus-resources.jar;C:\Dev\Servers\glassfish4\glassfish\modules\orb-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\orb-enabler.jar;C:\Dev\Servers\glassfish4\glassfish\modules\orb-iiop.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.apache.felix.bundlerepository.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.antlr.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.asm.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.dbws.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.jpql.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.modelgen.processor.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.moxy.jar;C:\Dev\Servers\glassfish4\glassfish\modules\org.eclipse.persistence.oracle.jar;C:\Dev\Servers\glassfish4\glassfish\modules\osgi-adapter.jar;C:\Dev\Servers\glassfish4\glassfish\modules\osgi-cli-remote.jar;C:\Dev\Servers\glassfish4\glassfish\modules\osgi-container.jar;C:\Dev\Servers\glassfish4\glassfish\modules\osgi-jpa-extension.jar;C:\Dev\Servers\glassfish4\glassfish\modules\osgi-resource-locator.jar;C:\Dev\Servers\glassfish4\glassfish\modules\persistence-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-asm.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-basic-tools.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-basic.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-dynamic.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-tf-tools.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pfl-tf.jar;C:\Dev\Servers\glassfish4\glassfish\modules\pkg-client.jar;C:\Dev\Servers\glassfish4\glassfish\modules\registration-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\registration-impl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\resources-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\resources-runtime.jar;C:\Dev\Servers\glassfish4\glassfish\modules\rest-client.jar;C:\Dev\Servers\glassfish4\glassfish\modules\rest-service.jar;C:\Dev\Servers\glassfish4\glassfish\modules\scattered-archive-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\schema2beans-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\security-ee.jar;C:\Dev\Servers\glassfish4\glassfish\modules\security-services.jar;C:\Dev\Servers\glassfish4\glassfish\modules\security.jar;C:\Dev\Servers\glassfish4\glassfish\modules\shoal-cache.jar;C:\Dev\Servers\glassfish4\glassfish\modules\shoal-gms-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\shoal-gms-impl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\simple-glassfish-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\soap-tcp.jar;C:\Dev\Servers\glassfish4\glassfish\modules\ssl-impl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\stats77.jar;C:\Dev\Servers\glassfish4\glassfish\modules\stax2-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\transaction-internal-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\trilead-ssh2-repackaged.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-client.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-container-glassfish-cdi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-container-grizzly.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-container-servlet.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-server.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-spi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\tyrus-websocket-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\war-util.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-cli.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-core.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-embed-api.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-glue.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-gui-plugin-common.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-ha.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-naming.jar;C:\Dev\Servers\glassfish4\glassfish\modules\web-sse.jar;C:\Dev\Servers\glassfish4\glassfish\modules\websecurity.jar;C:\Dev\Servers\glassfish4\glassfish\modules\webservices-connector.jar;C:\Dev\Servers\glassfish4\glassfish\modules\webservices-extra-jdk-packages.jar;C:\Dev\Servers\glassfish4\glassfish\modules\webservices-osgi.jar;C:\Dev\Servers\glassfish4\glassfish\modules\webservices.security.jar;C:\Dev\Servers\glassfish4\glassfish\modules\weld-integration-fragment.jar;C:\Dev\Servers\glassfish4\glassfish\modules\weld-integration.jar;C:\Dev\Servers\glassfish4\glassfish\modules\weld-osgi-bundle.jar;C:\Dev\Servers\glassfish4\glassfish\modules\woodstox-core-asl.jar;C:\Dev\Servers\glassfish4\glassfish\modules\work-management.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\JavaEE\lib\javaee-impl.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\lib\openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\lib\util.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\Glassfish\lib\specifics\glassfish3-specifics.jar" com.intellij.javaee.oss.process.JavaeeProcess 50437 com.intellij.javaee.oss.glassfish.agent.Glassfish31Agent
[2017-02-20 07:28:36,418] Artifact partiu-comer:war: Server is not connected. Deploy is not available.
Detected server admin port: 4848
Detected server http port: 8080
Connected to server
[2017-02-20 07:28:39,245] Artifact partiu-comer:war: Artifact is being deployed, please wait...
[2017-02-20 07:28:47,595] Artifact partiu-comer:war: Error during artifact deployment. See server log for details.
[2017-02-20 07:28:47,595] Artifact partiu-comer:war: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while preparing the app : [PersistenceUnit: partiu] Unable to build Hibernate SessionFactory. Please see server.log for more details.
Meu pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.partiu</groupId>
<artifactId>partiu-comer</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>partiu-comer</name>
<build>
<finalName>partiu-comer</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<inherited>true</inherited>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${jersey.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<scope>provided</scope>
</dependency>
<!-- uncomment this to get JSON support
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-moxy</artifactId>
</dependency>
-->
<!-- MYSQL -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
</dependency>
<!-- HIBERNATE -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.7.Final</version>
</dependency>
</dependencies>
<properties>
<jersey.version>2.25.1</jersey.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
Alguém poderia me dizer onde estou errando?