Foros del Web » Programación para mayores de 30 ;) » Java »

Hibernate

Estas en el tema de Hibernate en el foro de Java en Foros del Web. Me encuentro en el siguiente atolladero al tratar de crear tablas en la base de datos utilizando el "schema-export" de hibernate [schemaexport] 12:25:29,916 INFO Environment: ...
  #1 (permalink)  
Antiguo 02/03/2007, 13:19
 
Fecha de Ingreso: marzo-2007
Mensajes: 3
Antigüedad: 17 años, 2 meses
Puntos: 0
Hibernate

Me encuentro en el siguiente atolladero al tratar de crear tablas en la base de datos utilizando el "schema-export" de hibernate

[schemaexport] 12:25:29,916 INFO Environment: - using java.io streams to persist binary types
[schemaexport] 12:25:29,917 INFO Environment: - Bytecode provider name : cglib
[schemaexport] 12:25:29,947 INFO Environment: - using JDK 1.4 java.sql.Timestamp handling
[schemaexport] 12:25:30,570 INFO Configuration: - configuring from file: hibernate.cfg.xml
[schemaexport] 12:25:31,116 INFO Configuration: - Reading mappings from resource : com/Event.hbm.xml
[schemaexport] 12:25:31,842 INFO HbmBinder: - Mapping class: com.Event -> events
[schemaexport] 12:25:32,624 INFO Configuration: - Reading mappings from resource : com/Location.hbm.xml
[schemaexport] 12:25:32,751 INFO HbmBinder: - Mapping class: com.Location -> locations
[schemaexport] 12:25:32,759 INFO Configuration: - Configured SessionFactory: java:/hibernate/HibernateFactory
[schemaexport] 12:25:33,107 INFO Dialect: - Using dialect: org.hibernate.dialect.MySQLDialect

BUILD FAILED
/root/hlog/src/build4.xml:44: java.lang.NullPointerException

esta es la linea 44

<schemaexport config="${src.java.dir}/hibernate.cfg.xml"/>



Escucho sugerencias, gracias.

Sls.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:03.