nutting
V2EX  ›  问与答

遇到 Java 一个诡异的问题

  •  
  •   nutting · Mar 28, 2022 · 1004 views
    This topic created in 1518 days ago, the information mentioned may be changed or developed.
    类 A static 初始化连接

    类 B ,try catch finally 里面用到 A ,后台报错没法找到 A 类定义,无法初始化 A ,但是这个报错不是 try 里面第一次用到 A 时候提示的,而是 finally 里面那行的报错。

    更奇怪的是,static 里没打出异常日志


    没法找到 A 类定义,无法初始化 A ,这个应该不是类不存在,网络都说是 static 执行报错了,但是我就看不见报错,疯了
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5299 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 01:18 · PVG 09:18 · LAX 18:18 · JFK 21:18
    ♥ Do have faith in what you're doing.