Skip to content

java项目运行的时候异常 #315

Description

@xiaoge01

描述bug内容
java项目运行的时候异常,不知道是否是项目本身用到的log日志和你的插件冲突

版本信息

  • DebugTools版本: [5.2.0]

日志信息
DebugTools: 2026-09-15 13:54:05.609 INFO [main] i.g.f.d.t.s.SqlDriverClassFileTransformer 52 : Print oracle log bytecode enhancement successful
DebugTools: 2026-09-15 13:54:05.629 INFO [main] i.g.f.d.t.s.SqlDriverClassFileTransformer 52 : Print postgresql log bytecode enhancement successful
2026-09-15 13:54:05.699 WARN 22400 --- [ main] b.c.PropertySourceBootstrapConfiguration : Error opening logging config file classpath:logback-nacos.xml

java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.joran.spi.Interpreter@72:28 - RuntimeException in Action for tag [connectionSource] java.lang.NullPointerException
ERROR in ch.qos.logback.core.joran.spi.Interpreter@73:71 - no applicable action for [filter], current ElementPath is [[configuration][appender][filter]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@74:20 - no applicable action for [level], current ElementPath is [[configuration][appender][filter][level]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@76:16 - RuntimeException in Action for tag [appender] java.lang.IllegalStateException: DBAppender cannot function without a connection source
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169)
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66)
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:118)
at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.reinitializeLoggingSystem(PropertySourceBootstrapConfiguration.java:149)
at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:126)
at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:623)
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:367)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1247)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1236)
at com.security.BcdAuthApplication.main(BcdAuthApplication.java:21)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions