JSON-java icon indicating copy to clipboard operation
JSON-java copied to clipboard

error: cannot find symbol import org.json.XML; ^ symbol: class XML location: package org.json

Open KEVINGILBERTTODING opened this issue 2 months ago • 3 comments

KEVINGILBERTTODING avatar Oct 21 '25 13:10 KEVINGILBERTTODING

Hi, Can I handle this issue now?

marktech0813 avatar Nov 12 '25 00:11 marktech0813

Status: I verified XML.java is present and correctly declared; the error stems from classpath/module collision (commonly Android). Next step is to align your dependency or shade as above, or install a JDK and build locally.

marktech0813 avatar Nov 12 '25 00:11 marktech0813

Hi, Can I handle this issue now?

@marktech0813 You are welcome to try. Take a look at the FAQ, especially this item: How do you decide which pull requests to accept?, to get an idea of the kinds of changes that are allowed for this project.

stleary avatar Nov 12 '25 02:11 stleary