springboot部署为war包 用java -jar启动war包,启动到一半进程一直在,无法退出

weixin_39506694 2018-06-03 10:58:19
以下是筛选的启动 日志

22:42:22,998 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
22:42:22,998 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
22:42:22,998 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/data/wwwroot/site-web.war!/WEB-INF/classes!/logback.xml]
22:42:23,029 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@14514713 - URL [jar:file:/data/wwwroot/site-web.war!/WEB-INF/classes!/logback.xml] is not of type file
22:42:23,110 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
22:42:23,170 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
22:42:23,175 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
22:42:23,266 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.
22:42:23,266 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
22:42:23,266 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
22:42:23,266 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
22:42:23,268 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
22:42:23,284 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use zip compression

22:42:23,290 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
22:42:23,293 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sun Jun 03 18:50:57 CST 2018
22:42:23,294 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - This appender no longer admits a layout as a sub-component, set an encoder instead.
22:42:23,294 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
22:42:23,296 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: paygateway/saasplus.log
22:42:23,296 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [paygateway/saasplus.log]
22:42:23,298 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sun Jun 03 15:00:02 CST 2018
22:42:23,299 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.getsentry.raven.logback.SentryAppender]
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.alibaba] to ERROR
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to ERROR
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [pers.orange.site] to DEBUG
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [DUBBO] to ERROR
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to INFO
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [springfox] to ERROR
22:42:23,319 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
22:42:23,320 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
22:42:23,320 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
22:42:23,320 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
22:42:23,321 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@69663380 - Registering current configuration as safe fallback point


平台web开始启动..........

系统版本: 1.0.0
Spring Boot Version: 1.4.4.RELEASE (v1.4.4.RELEASE)
22:42:24.139 [main] INFO pers.orange.site.PlatFormWebStarter - Starting PlatFormWebStarter with PID 31063 (/data/wwwroot/site-web.war started by root in /data/wwwroot)
22:42:24.157 [main] DEBUG pers.orange.site.PlatFormWebStarter - Running with Spring Boot v1.4.4.RELEASE, Spring v4.3.6.RELEASE
22:42:24.157 [main] INFO pers.orange.site.PlatFormWebStarter - No active profile set, falling back to default profiles: default
22:42:24.276 [main] INFO org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@470e2030: startup date [Sun Jun 03 22:42:24 CST 2018]; root of context hierarchy
22:42:25.895 [main] INFO org.springframework.core.annotation.AnnotationUtils - Failed to introspect annotations on [class org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration]: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
22:42:26.020 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/data/wwwroot/site-web.war!/WEB-INF/lib/saas-web-1.0.0.jar!/spring/login-api.xml]
22:42:26.435 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'handlerExceptionResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration; factoryMethodName=handlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=pers.orange.common.web.config.WebCommonConfig; factoryMethodName=handlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [pers/orange/common/web/config/WebCommonConfig.class]]
22:42:27.022 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'pers.orange.common.web.config.ShiroConfiguration' of type [class pers.orange.common.web.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$508717ad] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

22:42:28.322 [main] WARN org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginLog': Invocation of init method failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pers.orange.common.dubbo.springboot.dubbo.DubboAutoConfiguration': Unsatisfied dependency expressed through field 'dubboProperties'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'shiroFilter' defined in class path resource [pers/orange/common/web/config/ShiroConfiguration.class]: Unsatisfied dependency expressed through method 'getShiroFilterFactoryBean' parameter 4; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'pers.orange.common.core.api.ILoginLogService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

22:42:28.345 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dubbo-pers.orange.common.dubbo.springboot.dubbo.DubboProperties' of type [class pers.orange.common.dubbo.springboot.dubbo.DubboProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
22:42:28.346 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'pers.orange.common.dubbo.springboot.dubbo.DubboAutoConfiguration' of type [class pers.orange.common.dubbo.springboot.dubbo.DubboAutoConfiguration$$EnhancerBySpringCGLIB$$2eb3826e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
22:42:28.353 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'appRegistry' of type [class com.alibaba.dubbo.config.RegistryConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

22:42:28.387 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChe
22:42:28.405 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'permission' of type [class com.alibaba.dubbo.config.spring.ReferenceBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
22:42:28.412 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'loginLog' of type [class com.alibaba.dubbo.config.spring.ReferenceBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
...全文
1420 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_39506694 2018-06-04
  • 打赏
  • 举报
回复
NoSuchBeanDefinitionException: No qualifying bean of type 'pers.orange.common.core.api.ILoginLogService' available 应该是这个问题。前面提示loginLog初始化失败,少了一个参数,应该就是你这个service没有创建成功bean,你检查一下配置文件 这个错误并不影响程序
weixin_39506694 2018-06-04
  • 打赏
  • 举报
回复
顶顶顶顶顶!!!!
  • 打赏
  • 举报
回复
NoSuchBeanDefinitionException: No qualifying bean of type 'pers.orange.common.core.api.ILoginLogService' available 应该是这个问题。前面提示loginLog初始化失败,少了一个参数,应该就是你这个service没有创建成功bean,你检查一下配置文件
weixin_39506694 2018-06-04
  • 打赏
  • 举报
回复
顶!!!!!!!!
weixin_39506694 2018-06-03
  • 打赏
  • 举报
回复
请各位大神看看为什么启动不成功

51,410

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧