MiraiForum

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

    Solved 使用官方模板项目时,第一次可以正常启动,但接下来启动会显示找不到主类

    开发交流
    3
    5
    117
    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.
    • A
      abcdefghHIM last edited by

      代码没有任何改动,求助!图片

      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by cssxsh

        如果是插件项目
        用 idea 的话 建议用 插件 https://plugins.jetbrains.com/plugin/15094-mirai-console 创建项目

        1 Reply Last reply Reply Quote 0
        • A
          abcdefghHIM last edited by

          用插件创建的项目也显示找不到主类,而且还发生了错误
          image.png
          image.png

          1 Reply Last reply Reply Quote 0
          • Topic has been marked as a question  A abcdefghHIM 
          • RainChan
            RainChan 摸鱼 last edited by

            点那个代码旁边的绿色箭头运行就没问题,如果还是有问题就再点

            1 Reply Last reply Reply Quote 0
            • A
              abcdefghHIM last edited by

              比较神奇,项目放在D盘下可以正常启动,但是放到其他盘就会显示找不到主类,不知道为什么

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  A abcdefghHIM 
              • 1 / 1
              • First post
                Last post
              Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact