Type Exception Report
Message Handler dispatch failed; nested exception is : org/json/JSONObject
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
: Handler dispatch failed; nested exception is : org/json/JSONObject (:978) (:897) (:970) (:861) (:635) (:846) (:742) (:52) (:197) (:107)
Root Cause
: org/json/JSONObject (:65) .invoke0(Native Method) (:62) (:43) (:498) (:205) (:133) (:116) (:827) (:738) (:85) (:963) (:897) (:970) (:861) (:635) (:846) (:742) (:52) (:197) (:107)
Root Cause
: (:1285) (:1119) (:65) .invoke0(Native Method) (:62) (:43) (:498) (:205) (:133) (:116) (:827) (:738) (:85) (:963) (:897) (:970) (:861) (:635) (:846) (:742) (:52) (:197) (:107)
The above is the error message,The reason is that the project ismavenproject,But I useWhen org/json/JSONObject, the jar package is not imported using maven's data warehouse, but right-click the project to add the property, and the program runs to useThe org/json/JSONObject is reported as an error, just change it to the following method (order the version yourself). Record it so that you won't forget it later
<dependency>
<groupId></groupId>
<artifactId>json</artifactId>
<version>20160810</version>
</dependency>