Estou num inferno com o Hibernate aqui.
[quote=Saida do Hibernate]- Hibernate 2.1.7
- hibernate.properties not found
- using CGLIB reflection optimizer
- using JDK 1.4 java.sql.Timestamp handling
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/Cidades.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.Cidades -> ARADMIN.SAS_Cidades
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/Problemas.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.Problemas -> ARADMIN.SAS_Problemas
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/Maquinas.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.Maquinas -> ARADMIN.SAS_Maquinas
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/OS.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.OS -> ARADMIN.SAS_OS
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/ContratosDadosGerais.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.ContratosDadosGerais -> ARADMIN.SAS_ContratosDadosGerais
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/ContratosItens.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.ContratosItens -> ARADMIN.SAS_ContratosItens
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/Servicos.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.Servicos -> ARADMIN.SAS_Servicos
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/Clientes.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.Clientes -> ARADMIN.SAS_Clientes
- Mapping resource: br/com/minha/empresa/aplicacao/database/vo/OperadoraRelacionamentoN7.hbm.xml
- Mapping class: br.com.minha.empresa.aplicacao.database.vo.OperadoraRelacionamentoN7 -> ARADMIN.SAS_OperadorasRelacionamentoN7
- processing one-to-many association mappings
- processing one-to-one association property references
- processing foreign key constraints
- No dialect set - using GenericDialect: The dialect was not set. Set the property hibernate.dialect.
- Using dialect: net.sf.hibernate.dialect.GenericDialect
- Use outer join fetching: true
- No connection properties specified - the user must supply JDBC connections
- No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
- Use scrollable result sets: false
- Use JDBC3 getGeneratedKeys(): false
- Optimize cache for minimal puts: false
- Query language substitutions: {}
- cache provider: net.sf.hibernate.cache.EhCacheProvider
- instantiating and configuring caches
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:237)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:796)
at br.com.minha.empresa.aplicacao.database.util.HibernateConnection.(HibernateConnection.java:57)
at br.com.minha.empresa.aplicacao.database.util.HibernateConnection.getInstance(HibernateConnection.java:70)
at br.com.minha.empresa.aplicacao.database.HibernateInit.run(HibernateInit.java:28)
at java.lang.Thread.run(Thread.java:536)
at br.com.minha.empresa.aplicacao.gui.Aplicacao.(Aplicacao.java:105)
at br.com.minha.empresa.aplicacao.gui.Aplicacao.main(Aplicacao.java:51)[/quote]
No classpath tenho o cglib-full-2.0.2.jar e nenhum jar do ASM (já que teoricamente o ASM está dentro do cglib-full) mas num funfa … aí peguei o asm-1.4.1.jar mas tb não funfa.
Alguem já enfrentou isso? Help please …