Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

使用JarCilent报错:org.json.JSONArray 无法映射到 java.lang.String #15

Description

@CyberKanjousen

用PS启动JarClient的日志如下:

PS D:\dwb\(整合包名)\.minecraft\versions\(整合包名)> java -jar JarClient.jar #不包含中文路径
GraphicsMode:         true
Standalone:           true
updating directory:   D:/dwb/(整合包名)/.minecraft/versions/(整合包名)/.
working directory:    D:/dwb/(整合包名)/.minecraft/versions/(整合包名)
executable directory: D:/dwb/(整合包名)/.minecraft/versions/(整合包名)
application version:  4.1.18 (a20a06a449f8a0cf398ec127ade78c63af5cbc55)
java virtual machine: Oracle Corporation 1.8.0_333
operating system: Windows 11 10.0 amd64
http request on http://mcpack.dwbrss.xyz/index.php
java.lang.ClassCastException #这以下应该就是报错部分了
java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONArray
        at com.github.balloonupdate.WorkThread.requestIndex(WorkThread.kt:352)
        at com.github.balloonupdate.WorkThread.run(WorkThread.kt:41)

Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONArray
        at com.github.balloonupdate.WorkThread.requestIndex(WorkThread.kt:352)
        at com.github.balloonupdate.WorkThread.run(WorkThread.kt:41)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions