MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    2.6.3升2.13.0找不到类

    开发交流
    2
    2
    126
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KV557 last edited by

      为了解决过低版本QQ无法登录问题今天升了2.13.0 升完后运行报错

      java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
      Caused by: java.lang.NoClassDefFoundError: net/mamoe/mirai/internal/deps/io/ktor/client/engine/okhttp/OkHttp
      Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.internal.deps.io.ktor.client.engine.okhttp.OkHttp
      

      后来单独引入了ktor依赖但是类路径不对 mirai的ktor路径是net/mamoe/mirai/internal/deps/io/ktor/??
      但是mirai-core-utils里的net\mamoe\mirai\internal\deps\io\ktor下只有一个\utils没有\client(是我少包了吗

      附上deps:

      dependencies {
          implementation group: 'net.mamoe', name: 'mirai-core', version: '2.13.0'
          implementation group: 'net.mamoe', name: 'mirai-core-utils', version: '2.13.0'
          implementation group: 'net.mamoe', name: 'mirai-core-api', version: '2.13.0'
      }
      
      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        2.13.0 有bug 未修复
        请暂时降低版本到 2.13.0-RC2

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact