为了账号安全,请及时绑定邮箱和手机立即绑定

SSH框架整合的问题,一直说我sessionFactory的bean未创建成功,求解

SSH框架整合的问题,一直说我sessionFactory的bean未创建成功,求解

留后门 2017-08-19 22:14:29
八月 19, 2017 10:08:17 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge16m9p1xlecxza3ei7v|2893de87, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge16m9p1xlecxza3ei7v|2893de87, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@localhost:1521:orcl, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]5034 [WARN] Oracle9Dialect: HHH000063: The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead八月 19, 2017 10:08:18 下午 org.springframework.context.support.AbstractApplicationContext refresh警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.boot.MappingException: Association [com.education.bean.ClassInfo.marks] references an unmapped entity [com.education.bean.ClassInfo.marks] : origin(null)
查看完整描述

1 回答

?
胜利女神在微笑

TA贡献67条经验 获得超59个赞

jar包冲突了

查看完整回答
反对 回复 2017-08-22
  • 1 回答
  • 0 关注
  • 1980 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信