启动信息
[color=#FF0000]2009-2-11 11:47:22 org.hibernate.cfg.Environment <clinit>
信息: Hibernate 3.2.5
2009-2-11 11:47:22 org.hibernate.cfg.Environment <clinit>
信息: hibernate.properties not found
2009-2-11 11:47:22 org.hibernate.cfg.Environment buildBytecodeProvider
信息: Bytecode provider name : cglib
2009-2-11 11:47:22 org.hibernate.cfg.Environment <clinit>
信息: using JDK 1.4 java.sql.Timestamp handling
2009-2-11 11:47:23 org.hibernate.cfg.Configuration configure
信息: configuring from resource: /hibernate.cfg.xml
2009-2-11 11:47:23 org.hibernate.cfg.Configuration getConfigurationInputStream
信息: Configuration resource: /hibernate.cfg.xml
2009-2-11 11:47:23 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbRevert.hbm.xml
2009-2-11 11:47:24 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbRevert -> tb_revert
2009-2-11 11:47:24 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbPromulgate.hbm.xml
2009-2-11 11:47:24 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbPromulgate -> tb_promulgate
2009-2-11 11:47:24 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbNews.hbm.xml
2009-2-11 11:47:24 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbNews -> tb_news
2009-2-11 11:47:24 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbModel.hbm.xml
2009-2-11 11:47:24 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbModel -> tb_model
2009-2-11 11:47:25 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbFile.hbm.xml
2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbFile -> tb_file
2009-2-11 11:47:25 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbBrand.hbm.xml
2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbBrand -> tb_brand
2009-2-11 11:47:25 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbStatDownload.hbm.xml
2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbStatDownload -> tb_stat_download
2009-2-11 11:47:25 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbAdmin.hbm.xml
2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbAdmin -> tb_admin
2009-2-11 11:47:25 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : cn/com/siwi/ezmap2/wap/j2ee/fc/hibernate/pojo/TbUsers.hbm.xml
2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbUsers -> tb_users
2009-2-11 11:47:25 org.hibernate.cfg.Configuration doConfigure
信息: Configured SessionFactory: null

解决方案 »

  1.   

    接上:2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
    信息: Mapping collection: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbPromulgate.revert -> tb_revert
    2009-2-11 11:47:25 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
    信息: Mapping collection: cn.com.siwi.ezmap2.wap.j2ee.fc.hibernate.pojo.TbBrand.model -> tb_model
    2009-2-11 11:47:25 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
    信息: Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider
    2009-2-11 11:47:25 org.hibernate.connection.C3P0ConnectionProvider configure
    信息: C3P0 using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/ezmapwap?useUnicode=true&characterEncoding=UTF-8
    2009-2-11 11:47:25 org.hibernate.connection.C3P0ConnectionProvider configure
    信息: Connection properties: {useUnicode=true, user=root, password=****, characterEncoding=UTF-8}
    2009-2-11 11:47:25 org.hibernate.connection.C3P0ConnectionProvider configure
    信息: autocommit mode: false
    2009-2-11 11:47:25 com.mchange.v2.log.MLog <clinit>
    信息: MLog clients using java 1.4+ standard logging.
    2009-2-11 11:47:26 com.mchange.v2.c3p0.C3P0Registry banner
    信息: Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
    2009-2-11 11:47:26 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
    信息: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@38d340d5 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@dee8e719 [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge1647zrlca9oxtrz83|af72d8, idleConnectionTestPeriod -> 120, initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 180, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@24f43646 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1hge1647zrlca9oxtrz83|8ceeea, jdbcUrl -> jdbc:mysql://localhost:3306/ezmapwap?useUnicode=true&characterEncoding=UTF-8, properties -> {useUnicode=true, user=******, password=******, characterEncoding=UTF-8} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1hge1647zrlca9oxtrz83|16be68f, numHelperThreads -> 3 ]
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: RDBMS: MySQL, version: 5.0.22-community-nt
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.2.0-alpha ( $Date: 2004/12/13 22:22:04 $, $Revision: 1.27.4.35.2.9 $ )
    2009-2-11 11:47:27 org.hibernate.dialect.Dialect <init>
    信息: Using dialect: org.hibernate.dialect.MySQLDialect
    2009-2-11 11:47:27 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    信息: Using default transaction strategy (direct JDBC transactions)
    2009-2-11 11:47:27 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Automatic flush during beforeCompletion(): disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Automatic session close at end of transaction: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: JDBC batch size: 15
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: JDBC batch updates for versioned data: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Scrollable result sets: enabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: JDBC3 getGeneratedKeys(): enabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Connection release mode: auto
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Maximum outer join fetch depth: 2
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Default batch fetch size: 1
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Generate SQL with comments: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Order SQL updates by primary key: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Order SQL inserts for batching: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    2009-2-11 11:47:27 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    信息: Using ASTQueryTranslatorFactory
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Query language substitutions: {}
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: JPA-QL strict compliance: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Second-level cache: enabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Query cache: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory createCacheProvider
    信息: Cache provider: org.hibernate.cache.NoCacheProvider
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Optimize cache for minimal puts: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Structured second-level cache entries: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Statistics: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Deleted entity synthetic identifier rollback: disabled
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Default entity-mode: pojo
    2009-2-11 11:47:27 org.hibernate.cfg.SettingsFactory buildSettings
    信息: Named query checking : enabled
    2009-2-11 11:47:28 org.hibernate.impl.SessionFactoryImpl <init>
    信息: building session factory
    2009-2-11 11:47:29 org.hibernate.impl.SessionFactoryObjectFactory addInstance
    信息: Not binding factory to JNDI, no JNDI name configured[/color]
      

  2.   

    给你通供个思路啊:
    首先检查你的TbPromulgate (pojo)看看它的id有没有设置对应的映射文件
    然后,检查你那个报错的DAO