MyDvds erro com PostgreSQL?[resolvido]

8 respostas
juniorsatanas

eu coloquei todas as bibliotecas necessárias etc… tudo certinho… mas !
Ele gera o banco e tudo por minha classe, so da um erro na User, mas esse erro nao sei o que e !

HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hibernateTransactionInterceptor': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.Session]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionCreator': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionCreator': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver

note The full stack traces of the exception and its root causes are available in the GlassFish/v3 logs.
GlassFish/v3

hibernate.cfg.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
 <session-factory>
    <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
    <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
    <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/bdcadastro</property>
    <property name="hibernate.connection.username">root</property>
    <property name="hibernate.connection.password">debian23</property>
    
 		<mapping class="br.com.caelum.vraptor.mydvds.model.Dvd" />
 	 <mapping class="br.com.caelum.vraptor.mydvds.model.DvdRental" /> 
 		  <mapping class="br.com.caelum.vraptor.mydvds.model.User" />

	</session-factory>

</hibernate-configuration>
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/admin-cli.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/admin-core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/admin-util.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/amx-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/amx-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/annotation-framework.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ant.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/antlr.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/antlr-2.7.6.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/aopalliance.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/apache-commons.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/api-exporter.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/asm.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/asm-all-repackaged.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/asm-attrs.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/aspectjrt.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/auto-depends.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/branding.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/c3p0-0.9.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/caelum-stella-core-1.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/caelum-stella-faces-1.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/cglib.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/cglib-nodep-2.1_3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/cli-framework.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/cli-optional.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-codec-1.3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-codec-repackaged.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-collections-3.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-collections-3.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-digester-1.8.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-discovery-0.4.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-el.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-fileupload-1.2.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-io-1.3.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-io-1.4.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-lang-2.4.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-logging.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/commons-vfs-1.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/common-util.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/config.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/config-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/connectors-internal-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/connectors-runtime.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-branding-plugin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-common.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-jdbc-plugin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-plugin-service.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-security-plugin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-updatecenter-plugin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/console-web-plugin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/container-common.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/dataprovider.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/deployment-admin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/deployment-autodeploy.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/deployment-client.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/deployment-common.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/deployment-javaee-core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/dol.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/dom4j.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/dom4j-1.6.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/easyfaces-ui-1.0.3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ehcache-1.2.3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ejb3-persistence.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ejb3-persistence-1.0.1.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/el-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/flashlight-agent.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/flashlight-framework.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/gf-connectors-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/gf-jruby-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/gf-web-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish-ee-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish-mbeanserver.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish-naming.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/glassfish-registration.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/google-collect-1.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/grizzly-jruby.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/grizzly-jruby-module.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/grizzly-module.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/grizzly-optionals.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hamcrest-all-1.2RC3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-3.3.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-annotations.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-annotations-3.4.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-cglib-repack-2.1_3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-commons-annotations.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-commons-annotations-3.4.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-entitymanager.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-validator-3.1.ga.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hibernate-validator-4.0.2.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hk2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hk2-core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/hsqldb-1.8.0.7.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/inmemory.jacc.provider.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/internal-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/iogi-0.8.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javassist-3.4.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javassist-3.9.0.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.activation.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.annotation.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.enterprise.deploy.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.mail.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.persistence.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.resource.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.security.auth.message.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.security.jacc.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.servlet.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.servlet.jsp.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.servlet.jsp.jstl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.transaction.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/javax.xml.stream.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jdbc-admin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jmxremote_optional-repackaged.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/joda-time-1.6.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jpa-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsf-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsf-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsf-facelets.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsf-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsftemplating.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsp-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jsr250-api-1.0.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jstl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jstl-api-1.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jstl-connector.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jstl-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jstl-impl-1.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jta.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/jta-1.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/junit-4.5.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/kernel.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/launcher.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ldapbp-repackaged.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/log4j.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/log4j-1.2.15.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/mail.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/mirror-1.5.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/monitoring-core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/myfaces-api-1.2.5.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/myfaces-impl-1.2.5.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/myfaces-shared-impl-3.0.5.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/mysql-connector-java-5.1.6-bin.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/objenesis-1.1.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/ognl-2.7.3.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.eclipse.persistence.antlr.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.eclipse.persistence.asm.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.eclipse.persistence.core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.eclipse.persistence.jpa.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.eclipse.persistence.oracle.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.aop-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.asm-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.aspects-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.beans-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.context-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.core-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.expression-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/org.springframework.web-3.0.0.RELEASE.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/osgi-adapter.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/paranamer-1.5.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/picocontainer-2.8.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/pkg-client.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/postgresql-8.4-701.jdbc4.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/realms.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/reflections-0.9.4.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/registration-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/registration-impl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/richfaces-api-3.3.1.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/richfaces-impl-3.3.1.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/security.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/securitycommon.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/server-mgmt.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/servlet.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-api-1.5.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-api-1.5.8.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-log4j12.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-log4j12-1.5.8.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/standard.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/stats77.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/sysnet-registration-repackaged.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/tiger-types-osgi.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/transaction-internal-api.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/validation-api-1.0.0.GA.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/vraptor2-2.6.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/vraptor-3.1.2.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/war-util.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-ajp.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-cli.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-core.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-glue.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-gui-plugin-common.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/web-naming.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/websecurity.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/work-management.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/wstx-asl.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/xpp3_min-1.1.4c.jar
/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/xstream-1.3.1.jar

8 Respostas

G

Junior, você não leu a mensagem de erro, certo?

Olha só o erro aqui: JDBC Driver class not found: org.postgresql.Driver

Outra coisa, você está com todas as libs possíveis no mundo (tem até libs do glassfish e tudo mais) e além disso várias versões da mesma lib. O projeto MyDVDs está pronto para uso, você não precisa adicionar nenhuma lib extra, use apenas as que estão lá.

Lucas_Cavalcanti

coloque o jar do driver do postgreSQL e remova pelo menos os jars duplicados (mesmo nome, versões diferentes)

juniorsatanas

Lucas Cavalcanti boa tarde !

não e falta de biblioteca nao, pois pode ver na lista que o drive ta la… e outra eu tenho uma classe chamada gera banco, que usa esse drive e cria 2 tabelas dvds e dvdsrental, mais nao cria a user… logo o drive o hibernate.cfg.xml ta ok…

Deve ser outra cosia !

Fico aqui na busca da solução !

abraço e obrigado…

Lucas_Cavalcanti

o erro é no jar do driver…

senão não dava esse erro:

JDBC Driver class not found: org.postgresql.Driver

o jar do postgresql eh o certo? baixa a última versão no site e substitui:
http://jdbc.postgresql.org/download.html

se ainda der o mesmo erro, tenta ver no eclipse ou no netbeans se a classe Driver tá no classpath mesmo…
cria em uma classe qqer dentro da sua aplicação:

org.postgresql.Driver d;

essa linha não pode dar erro de compilação

G

É estranho mesmo esse erro. A exception é clara e diz que o driver não foi encontrado, porém o jar está no classpath. O jar que você tem é a mesma versão do que eu tenho, porém eu uso o jar no classpath do appserver e uso o Datasource XA.

Junior, qual a versão do Java você usa? O jar que você tem é para JDBC4, que se não me engano só existe no Java 6. Além disso procure se há alguma mensagem de warning informando se houve alguma rejeição do driver.

Não esqueça também de fazer uma limpa geral dos seus jars, pois assim as chances de você ter conflito entre as versões é muito grande, e até não é de se duvidar que algo assim esteja causando esses erros.

juniorsatanas

Pois o erro era na classe User, quando mudei para Usuário, parou de da esse erro Gerou as 3 tabelas…

Agora mudou o Erro, abrir outro TÓPICO.

aff …

juniorsatanas
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hibernateTransactionInterceptor': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.Session]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionCreator': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionCreator': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver
	org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:698)
	org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:192)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
	org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:328)
	org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)
	org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:385)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:375)
	org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1069)
	org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:221)
	br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext.getBean(VRaptorApplicationContext.java:253)
	br.com.caelum.vraptor.ioc.spring.SpringBasedContainer.instanceFor(SpringBasedContainer.java:59)
	br.com.caelum.vraptor.util.collections.Functions$1.apply(Functions.java:32)
	br.com.caelum.vraptor.util.collections.Functions$1.apply(Functions.java:30)
	com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:431)
	java.util.AbstractList$Itr.next(AbstractList.java:345)
	com.google.common.collect.Iterators$7.computeNext(Iterators.java:602)
	com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
	com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
	com.google.common.collect.Lists.newArrayList(Lists.java:131)
	com.google.common.collect.Collections2$FilteredCollection.toArray(Collections2.java:219)
	br.com.caelum.vraptor.interceptor.DefaultInterceptorRegistry.interceptorsFor(DefaultInterceptorRegistry.java:50)
	br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:42)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:81)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
	br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
	br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
	br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)

root cause

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionCreator': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryCreator': Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver
	org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:150)
	org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:109)
	org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1387)
	org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:244)
	org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:820)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:762)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:680)
	org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:771)
	org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:691)
	org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:192)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
	org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:328)
	org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)
	org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
	org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:385)
	org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:375)
	org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1069)
	org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:221)
	br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext.getBean(VRaptorApplicationContext.java:253)
	br.com.caelum.vraptor.ioc.spring.SpringBasedContainer.instanceFor(SpringBasedContainer.java:59)
	br.com.caelum.vraptor.util.collections.Functions$1.apply(Functions.java:32)
	br.com.caelum.vraptor.util.collections.Functions$1.apply(Functions.java:30)
	com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:431)
	java.util.AbstractList$Itr.next(AbstractList.java:345)
	com.google.common.collect.Iterators$7.computeNext(Iterators.java:602)
	com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
	com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
	com.google.common.collect.Lists.newArrayList(Lists.java:131)
	com.google.common.collect.Collections2$FilteredCollection.toArray(Collections2.java:219)
	br.com.caelum.vraptor.interceptor.DefaultInterceptorRegistry.interceptorsFor(DefaultInterceptorRegistry.java:50)
	br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:42)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:81)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
	br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
	br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
	br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
	br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
	br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)

root cause
juniorsatanas

NÃO ERA O DRIVE :

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/junior/workspace/vraptor-mydvds/WebContent/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/junior/vraptor-mydvds-3.1.2/WebContent/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
09:08:39,908  INFO [Version             ] Hibernate Annotations 3.4.0.GA
09:08:39,917  INFO [Environment         ] Hibernate 3.3.2.GA
09:08:39,919  INFO [Environment         ] hibernate.properties not found
09:08:39,921  INFO [Environment         ] Bytecode provider name : javassist
09:08:39,923  INFO [Environment         ] using JDK 1.4 java.sql.Timestamp handling
09:08:39,970  INFO [Version             ] Hibernate Commons Annotations 3.1.0.GA
09:08:39,972  INFO [Configuration       ] configuring from resource: /hibernate.cfg.xml
09:08:39,972  INFO [Configuration       ] Configuration resource: /hibernate.cfg.xml
09:08:40,028  INFO [Configuration       ] Configured SessionFactory: null
09:08:40,038  INFO [Dialect             ] Using dialect: org.hibernate.dialect.PostgreSQLDialect
09:08:40,100  INFO [AnnotationBinder    ] Binding entity from annotated class: br.com.caelum.vraptor.mydvds.model.Dvd
09:08:40,119  INFO [EntityBinder        ] Bind entity br.com.caelum.vraptor.mydvds.model.Dvd on table Dvd
09:08:40,165  INFO [AnnotationBinder    ] Binding entity from annotated class: br.com.caelum.vraptor.mydvds.model.DvdRental
09:08:40,165  INFO [EntityBinder        ] Bind entity br.com.caelum.vraptor.mydvds.model.DvdRental on table DvdRental
09:08:40,169  INFO [AnnotationBinder    ] Binding entity from annotated class: br.com.caelum.vraptor.mydvds.model.Usuario
09:08:40,169  INFO [EntityBinder        ] Bind entity br.com.caelum.vraptor.mydvds.model.Usuario on table Usuario
09:08:40,194  INFO [CollectionBinder    ] Mapping collection: br.com.caelum.vraptor.mydvds.model.Dvd.rents -> DvdRental
09:08:40,195  INFO [CollectionBinder    ] Mapping collection: br.com.caelum.vraptor.mydvds.model.Usuario.rents -> DvdRental
09:08:40,198  INFO [Version             ] Hibernate Validator 3.1.0.GA
09:08:40,244  INFO [SchemaExport        ] Running hbm2ddl schema export
09:08:40,244  INFO [SchemaExport        ] exporting generated schema to database
09:08:40,246  INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
09:08:40,246  INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 20
09:08:40,246  INFO [DriverManagerConnectionProvider] autocommit mode: false
09:08:40,280  INFO [DriverManagerConnectionProvider] using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost:5432/nutec
09:08:40,280  INFO [DriverManagerConnectionProvider] connection properties: {user=root, password=****}
alter table DvdRental drop constraint FK7F97B9B6126E7F4D
alter table DvdRental drop constraint FK7F97B9B6BBEC2ABC
drop table Dvd
drop table DvdRental
drop table Usuario
drop sequence hibernate_sequence
create table Dvd (id int8 not null, description varchar(255), title varchar(255), type varchar(255), primary key (id))
create table DvdRental (id int8 not null, dvd_id int8, owner_login varchar(20), primary key (id))
create table Usuario (login varchar(20) not null, name varchar(100) not null, password varchar(20) not null, primary key (login))
alter table DvdRental add constraint FK7F97B9B6126E7F4D foreign key (owner_login) references Usuario
alter table DvdRental add constraint FK7F97B9B6BBEC2ABC foreign key (dvd_id) references Dvd
create sequence hibernate_sequence
09:08:40,699  INFO [SchemaExport        ] schema export complete
09:08:40,699  INFO [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:postgresql://localhost:5432/nutec
09:08:40,709  INFO [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:postgresql://localhost:5432/nutec
Criado 14 de maio de 2010
Ultima resposta 20 de mai. de 2010
Respostas 8
Participantes 3