MiraiForum

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

    gradle编译错误

    开发交流
    3
    6
    611
    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.
    • 2
      2949454190 last edited by

      intelllij编辑器中,gradle.task.mirai.buildPlugin,运行出现错误
      8c2c7cff-9b7d-42f7-8abb-46c7cbb6e0a8-image.png
      Cause: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x5cfc7f04) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x5cfc7f04

      1 Reply Last reply Reply Quote 0
      • 2
        2949454190 last edited by

        c1ac68c1-209e-408d-8af8-2fe266a7cbdf-image.png

        1 Reply Last reply Reply Quote 0
        • Hoshino Tented
          Hoshino Tented ⭐2021⭐ last edited by

          https://github.com/gradle/gradle/issues/16641

          graemerocher created this issue in gradle/gradle

          closed Gradle 7.0 has problems with annotation processors and java 16 #16641

          1 Reply Last reply Reply Quote 0
          • RainChan
            RainChan 摸鱼 last edited by

            降级gradle

            1 Reply Last reply Reply Quote 0
            • Hoshino Tented
              Hoshino Tented ⭐2021⭐ last edited by

              你知道吗?

              在遇到报错的时候直接将全部或部分报错内容(如异常类名,或者随后的详细错误信息)复制到搜索引擎中进行搜索,很大可能可以解决你的疑惑!

              <<我知道了!>>

              2 1 Reply Last reply Reply Quote 1
              • 2
                2949454190 @Hoshino Tented last edited by

                @hoshino-tented 谢谢大佬

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