MiraiForum

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

    qq报整数太大

    BUG反馈
    2
    5
    320
    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.
    • G
      Git-shi-ui last edited by

      BotFactory.INSTANCE.newBot(2770098376, "11", botConfiguration);
      报错,显示整数过大
      maven版本信息

      	<dependency>
      		<groupId>net.mamoe</groupId>
      		<artifactId>mirai-core-jvm</artifactId>
      		<version>2.9.2</version>
      	</dependency>
      
      1 Reply Last reply Reply Quote 0
      • H
        Hamusuta0320 last edited by

        2770098376后面加上L,即2770098376L

        G 1 Reply Last reply Reply Quote 0
        • G
          Git-shi-ui @Hamusuta0320 last edited by

          @Hamusuta0320 好的,谢谢,没注意是Long类型,以为是Integer,因为在Java语言里面是强制带L的

          1 Reply Last reply Reply Quote 0
          • H
            Hamusuta0320 last edited by

            不要用2.9.2了,太老了,现在已经2.15.0-M1了,2.9.2够呛能登陆上

            G 1 Reply Last reply Reply Quote 0
            • G
              Git-shi-ui @Hamusuta0320 last edited by

              @Hamusuta0320 好的,谢谢ff5e4c00-e712-4847-a684-0f74914bf848-1685697398519.png
              我是在这里找的,第一次使用此框架,然后看见这里有推荐的maven版本

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