亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

自己寫了一個ssm項目,tomcat新啟動后,首頁登錄功能,需要登兩邊,才能登進去.又沒有人給看看.

自己寫了一個ssm項目,tomcat新啟動后,首頁登錄功能,需要登兩邊,才能登進去.又沒有人給看看.

qq_MEGALOVANIA_0 2019-03-01 19:17:50
一下是第一次登錄,控制臺輸出的日志:21:26:15.446 [http-bio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession21:26:15.459 [http-bio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@40f3af02] was not registered for synchronization because synchronization is not active二月 28, 2019 9:26:15 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 10000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 2z57xka1ei83mc1s8fd5m|3a3a1951, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2z57xka1ei83mc1s8fd5m|3a3a1951, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/cassell?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.21:26:16.108 [http-bio-8080-exec-1] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@f36e122] will not be managed by Spring21:26:16.132 [http-bio-8080-exec-1] DEBUG com.yfj.dao.ManagerDao.queryById - ==>? Preparing: select id,password,name from manager where id=??21:26:16.224 [http-bio-8080-exec-1] DEBUG com.yfj.dao.ManagerDao.queryById - ==> Parameters: 2001(Long)21:26:16.332 [http-bio-8080-exec-1] DEBUG com.yfj.dao.ManagerDao.queryById - <==? ? ? Total: 121:26:16.364 [http-bio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@40f3af02]
查看完整描述

2 回答

  • 2 回答
  • 0 關注
  • 2324 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號