win10连接redis失败
Connected to the target VM, address: '127.0.0.1:52235', transport: 'socket'
八月 24, 2017 2:16:05 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getDefaultTestExecutionListenerClassNames
信息: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
八月 24, 2017 2:16:05 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getTestExecutionListeners
信息: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@13077c64, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@507792fe, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5a538af7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@22c88c75, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1c7d672a]
八月 24, 2017 2:16:05 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [spring/spring-dao.xml]
八月 24, 2017 2:16:05 下午 org.springframework.context.support.GenericApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.GenericApplicationContext@6b573f80: startup date [Thu Aug 24 14:16:05 CST 2017]; root of context hierarchy
八月 24, 2017 2:16:05 下午 org.springframework.context.support.PropertySourcesPlaceholderConfigurer loadProperties
信息: Loading properties file from class path resource [jdbc.properties]
八月 24, 2017 2:16:05 下午 com.mchange.v2.log.MLog <clinit>
信息: MLog clients using java 1.4+ standard logging.
八月 24, 2017 2:16:05 下午 com.mchange.v2.c3p0.C3P0Registry banner
信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
14:16:06.137 [main] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
14:16:06.210 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS
14:16:06.210 [main] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.
14:16:06.211 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile
14:16:06.211 [main] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
14:16:06.211 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Using VFS adapter org.apache.ibatis.io.DefaultVFS
14:16:06.211 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/E:/workspace/seckill/target/classes/org/seckill/entity
14:16:06.212 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/E:/workspace/seckill/target/classes/org/seckill/entity
14:16:06.251 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Seckill.class
14:16:06.251 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: SuccessKilled.class
14:16:06.251 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Listing file:/E:/workspace/seckill/target/classes/org/seckill/entity
14:16:06.251 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/E:/workspace/seckill/target/classes/org/seckill/entity/Seckill.class
14:16:06.251 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/E:/workspace/seckill/target/classes/org/seckill/entity/Seckill.class
14:16:06.252 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: ���� 1 V
14:16:06.252 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/E:/workspace/seckill/target/classes/org/seckill/entity/SuccessKilled.class
14:16:06.252 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/E:/workspace/seckill/target/classes/org/seckill/entity/SuccessKilled.class
14:16:06.252 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: ���� 1 Q
14:16:06.253 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class org.seckill.entity.Seckill matches criteria [is assignable to Object]
14:16:06.253 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Checking to see if class org.seckill.entity.SuccessKilled matches criteria [is assignable to Object]
14:16:06.254 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Scanned package: 'org.seckill.entity' for aliases
14:16:06.290 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [mybatis-config.xml]'
14:16:06.337 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [E:\workspace\seckill\target\classes\mapper\SeccessKillDAO.xml]'
14:16:06.348 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [E:\workspace\seckill\target\classes\mapper\SeckillDAO.xml]'
14:16:06.476 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
14:16:06.481 [main] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3fb3455d] was not registered for synchronization because synchronization is not active
八月 24, 2017 2:16:06 下午 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 -> 1000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0yw9q58mdw117jx11c|5e2cd950, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0yw9q58mdw117jx11c|5e2cd950, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/seckill?userUnicode=true&characterEncoding=utf8, 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 ]
14:16:06.672 [main] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@1835d850] will not be managed by Spring
14:16:06.678 [main] DEBUG org.seckill.dao.SeckillDAO.queryById - ==> Preparing: select seckill_id, name, number, start_time, end_time, create_time from seckill where seckill_id = ?
14:16:06.708 [main] DEBUG org.seckill.dao.SeckillDAO.queryById - ==> Parameters: 10001(Long)
14:16:06.722 [main] DEBUG org.seckill.dao.SeckillDAO.queryById - <== Total: 0
14:16:06.726 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3fb3455d]
Disconnected from the target VM, address: '127.0.0.1:52235', transport: 'socket'
Process finished with exit code 0