23:29:10.540 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
23:29:10.563 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
23:29:10.612 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.zsx.PostgresJdbcTemplateTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
23:29:10.632 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.zsx.PostgresJdbcTemplateTest], using SpringBootContextLoader
23:29:10.643 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.zsx.PostgresJdbcTemplateTest]: class path resource [com/zsx/PostgresJdbcTemplateTest-context.xml] does not exist
23:29:10.643 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.zsx.PostgresJdbcTemplateTest]: class path resource [com/zsx/PostgresJdbcTemplateTestContext.groovy] does not exist
23:29:10.644 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.zsx.PostgresJdbcTemplateTest]: no resource found for suffixes {-context.xml, Context.groovy}.
23:29:10.645 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.zsx.PostgresJdbcTemplateTest]: PostgresJdbcTemplateTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
23:29:10.713 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.zsx.PostgresJdbcTemplateTest]
23:29:10.812 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [F:\IdeaProjects\myspringboottemplate\target\classes\com\zsx\MySpringbootTemplateApplication.class]
23:29:10.813 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.zsx.MySpringbootTemplateApplication for test class com.zsx.PostgresJdbcTemplateTest
23:29:10.956 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [com.zsx.PostgresJdbcTemplateTest]: using defaults.
23:29:10.957 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
23:29:10.974 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@67b9b51a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1205bd62, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7ef27d7f, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@490caf5f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6337c201, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5c669da8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@31920ade, org.springframework.test.context.event.EventPublishingTestExecutionListener@1d483de4, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4032d386, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@28d18df5, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@934b6cb, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@55cf0d14, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3b74ac8]
23:29:10.981 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@27d5a580 testClass = PostgresJdbcTemplateTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@198d6542 testClass = PostgresJdbcTemplateTest, locations = '{}', classes = '{class com.zsx.MySpringbootTemplateApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3c947bc5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1356d4d4, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1bb266b3, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@68c72235], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
23:29:11.032 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.0.RELEASE)
2019-11-02 23:29:11.572 INFO 12236 --- [ main] com.zsx.PostgresJdbcTemplateTest : Starting PostgresJdbcTemplateTest on zsx with PID 12236 (started by admin in F:\IdeaProjects\myspringboottemplate)
2019-11-02 23:29:11.573 INFO 12236 --- [ main] com.zsx.PostgresJdbcTemplateTest : No active profile set, falling back to default profiles: default
2019-11-02 23:29:12.889 WARN 12236 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zsx]' package. Please check your configuration.
2019-11-02 23:29:13.987 INFO 12236 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-11-02 23:29:15.225 WARN 12236 --- [ main] com.zaxxer.hikari.HikariConfig : HikariPool-1 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.
2019-11-02 23:29:15.227 INFO 12236 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2019-11-02 23:29:15.545 INFO 12236 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2019-11-02 23:29:16.375 INFO 12236 --- [ main] com.zsx.PostgresJdbcTemplateTest : Started PostgresJdbcTemplateTest in 5.327 seconds (JVM running for 6.801)
2019-11-02 23:29:18.128 INFO 12236 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2019-11-02 23:29:18.310 INFO 12236 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2019-11-02 23:29:18.311 INFO 12236 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
Process finished with exit code 0
#!/bin/bash
#
# Script to start LVS DR real server.
# description: LVS DR real server
#
#. /etc/rc.d/init.d/functions
VIP=10.10.6.252
host='/bin/hostname'
case "$1" in
sta
大多数java开发者使用的都是eclipse,今天感兴趣去eclipse官网搜了一下eclipse.ini的配置,供大家参考,我会把关键的部分给大家用中文解释一下。还是推荐有问题不会直接搜谷歌,看官方文档,这样我们会知道问题的真面目是什么,对问题也有一个全面清晰的认识。
Overview
1、Eclipse.ini的作用
Eclipse startup is controlled by th
import java.util.Arrays;
/**
* 最早是在陈利人老师的微博看到这道题:
* #面试题#An array with n elements which is K most sorted,就是每个element的初始位置和它最终的排序后的位置的距离不超过常数K
* 设计一个排序算法。It should be faster than O(n*lgn)。
原网页被墙,放这里备用。 MySQLdb User's Guide
Contents
Introduction
Installation
_mysql
MySQL C API translation
MySQL C API function mapping
Some _mysql examples
MySQLdb