NOT_NPE
2021-08-03 11:58
采纳率: 100%
浏览 52
已结题

springcloud项目报错没有报错信息以下是控制台打印

"C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:60263,suspend=y,server=n XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\HY\.IntelliJIdea2019.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath C:\Users\HY\AppData\Local\Temp\classpath2036838978.jar com.base.cn.platform.os.BaseServiceApplication
连接到目标 VM,地址:'127.0.0.1:60263', transport: 'socket'
BaseServiceApplication启动开始
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/workPlace/apache-maven-3.6.1/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/workPlace/apache-maven-3.6.1/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.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 [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
2021-08-03 11:55:37.827  INFO 32028           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5ad10c1a: startup date [Tue Aug 03 11:55:37 CST 2021]; root of context hierarchy
2021-08-03 11:55:37.970  INFO 32028          main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-08-03 11:55:38.003  INFO 32028         main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$201d5df4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)


2021-08-03 11:55:38.217  INFO 32028         main] c.b.c.p.os.BaseServiceApplication        : The following profiles are active: common-config-dev
2021-08-03 11:55:38.235  INFO 32028         main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3122b117: startup date [Tue Aug 03 11:55:38 CST 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5ad10c1a
断开与目标 VM 的连接,地址:'127.0.0.1:60263', transport: 'socket'

进程已结束,退出代码 1

  • 好问题 提建议
  • 收藏

2条回答 默认 最新

  • L星火燎原 2021-08-03 14:23
    已采纳

    报错信息的话你不妨将日志级别改成debug,然后再启动一下看看,info级别可能看不到具体报错信息哦。

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • a1767028198 2021-08-03 13:34

    这也没错误信息,启动直接结束了,看看是不是加了web依赖,没加的话那就是main方法,启动就启动了

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题