信息: No Spring WebApplicationInitializer types detected on classpath
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/WEB-INF/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/WEB-INF/lib/slf4j-log4j12-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
2017-07-21 16:14:02.525 [localhost-startStop-1] DEBUG [MutablePropertySources:109] - Adding [servletContextInitParams] PropertySource with lowest search precedence
2017-07-21 16:14:02.533 [localhost-startStop-1] DEBUG [MutablePropertySources:109] - Adding [jndiProperties] PropertySource with lowest search precedence
2017-07-21 16:14:02.534 [localhost-startStop-1] DEBUG [MutablePropertySources:109] - Adding [systemProperties] PropertySource with lowest search precedence
2017-07-21 16:14:02.534 [localhost-startStop-1] DEBUG [MutablePropertySources:109] - Adding [systemEnvironment] PropertySource with lowest search precedence
2017-07-21 16:14:02.535 [localhost-startStop-1] DEBUG [AbstractEnvironment:127] - Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,jndiProperties,systemProperties,systemEnvironment]
2017-07-21 16:14:02.540 [localhost-startStop-1] DEBUG [MutablePropertySources:174] - Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]
2017-07-21 16:14:02.541 [localhost-startStop-1] INFO [AbstractApplicationContext:581] - Refreshing Root WebApplicationContext: startup date [Fri Jul 21 16:14:02 CST 2017]; root of context hierarchy
2017-07-21 16:14:02.584 [localhost-startStop-1] INFO [XmlBeanDefinitionReader:317] - Loading XML bean definitions from class path resource [spring-config.xml]
2017-07-21 16:14:02.815 [localhost-startStop-1] INFO [XmlBeanDefinitionReader:317] - Loading XML bean definitions from class path resource [motan-server.xml]
2017-07-21 16:14:02.857 [localhost-startStop-1] INFO [DefaultLogService:55] - AllSpiInitialization init.
2017-07-21 16:14:02.861 [localhost-startStop-1] INFO [DefaultLogService:55] - AllSpiInitialization init finish.
2017-07-21 16:14:02.905 [localhost-startStop-1] INFO [XmlBeanDefinitionReader:317] - Loading XML bean definitions from class path resource [spring/dataSource.xml]
2017-07-21 16:14:02.923 [localhost-startStop-1] INFO [XmlBeanDefinitionReader:317] - Loading XML bean definitions from class path resource [spring/mybatis.xml]
2017-07-21 16:14:02.947 [localhost-startStop-1] DEBUG [AbstractApplicationContext:615] - Bean factory for Root WebApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory@127321ee: defining beans [com.ifengchao.core.util.PropertiesUtil#0,accountProviderImpl,helloProviderImpl,userAdvertsProviderImpl,userCenterProviderImpl,userProviderImpl,userSessionProviderImpl,userSupplyProviderImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,registry,userMotan,userServiceBasicConfig,com.weibo.api.motan.config.springsupport.AnnotationBean,stat-filter,readDataSource,writeDataSource,dataSource,com.ifengchao.core.aspect.DataSourceAspect#0,org.springframework.jdbc.core.JdbcTemplate#0,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,transactionManager,org.springframework.transaction.config.internalTransactionalEventListenerFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor]; root of factory hierarchy
2017-07-21 16:14:03.154 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/AccountMapper.class]
2017-07-21 16:14:03.155 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/HelloMapper.class]
2017-07-21 16:14:03.155 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/UserAdvertsMapper.class]
2017-07-21 16:14:03.155 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/UserCenterMapper.class]
2017-07-21 16:14:03.156 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/UserInfoMapper.class]
2017-07-21 16:14:03.156 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/UserSessionMapper.class]
2017-07-21 16:14:03.156 [localhost-startStop-1] DEBUG [ClassPathScanningCandidateComponentProvider:286] - Identified candidate component class: file [/Users/yiming/Documents/work/iFengChao/iFengChao-User-Service/target/iFengChao-User-Service/WEB-INF/classes/com/ifengchao/dao/user/UserSupplyMapper.class]
2017-07-21 16:14:03.156 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'accountMapper' and 'com.ifengchao.dao.user.AccountMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'helloMapper' and 'com.ifengchao.dao.user.HelloMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'userAdvertsMapper' and 'com.ifengchao.dao.user.UserAdvertsMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'userCenterMapper' and 'com.ifengchao.dao.user.UserCenterMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'userInfoMapper' and 'com.ifengchao.dao.user.UserInfoMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'userSessionMapper' and 'com.ifengchao.dao.user.UserSessionMapper' mapperInterface
2017-07-21 16:14:03.157 [localhost-startStop-1] DEBUG [ClassPathMapperScanner:181] - Creating MapperFactoryBean with name 'userSupplyMapper' and 'com.ifengchao.dao.user.UserSupplyMapper' mapperInterface
2017-07-21 16:14:03.196 [localhost-startStop-1] INFO [PropertiesLoaderSupport:172] - Loading properties file from class path resource [config/jdbc-local.properties]
2017-07-21 16:14:03.197 [localhost-startStop-1] INFO [PropertiesLoaderSupport:172] - Loading properties file from class path resource [config/system-local.properties]
2017-07-21 16:14:08.276 [localhost-startStop-1] INFO [PropertiesUtil:37] -
2017-07-21 16:14:08.290 [localhost-startStop-1] INFO [AutowiredAnnotationBeanPostProcessor:156] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-07-21 16:14:08.333 [localhost-startStop-1] DEBUG [AbstractApplicationContext:728] - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@3a618864]
2017-07-21 16:14:08.335 [localhost-startStop-1] DEBUG [AbstractApplicationContext:752] - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@53c2d650]
2017-07-21 16:14:08.520 [localhost-startStop-1] DEBUG [LogFactory:135] - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
mybatis-plus init success.
2017-07-21 16:17:53.902 [localhost-startStop-1] DEBUG [VFS:109] - Class not found: org.jboss.vfs.VFS
2017-07-21 16:17:53.903 [localhost-startStop-1] DEBUG [JBoss6VFS:142] - JBoss 6 VFS API is not available in this environment.
2017-07-21 16:17:53.904 [localhost-startStop-1] DEBUG [VFS:109] - Class not found: org.jboss.vfs.VirtualFile
2017-07-21 16:17:53.905 [localhost-startStop-1] DEBUG [VFS:70] - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
2017-07-21 16:17:53.906 [localhost-startStop-1] DEBUG [VFS:84] - Using VFS adapter org.apache.ibatis.io.DefaultVFS
如图,在Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.这里卡了3分钟不知道什么原因。同样在windows下跑只要等10几秒,在MAC下要等3分钟。能正常运行就是启动太慢了。