You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
duplicate class definition for name: "com/jsoniter/IterImpl" when use treaming processing #333
22/11/06 08:57:30 ERROR javassist.CannotCompileException: by java.lang.ClassFormatError: loader (instance of org/apache/spark/util/MutableURLClassLoader): attempted duplicate class definition for name: "com/jsoniter/IterImpl"
22/11/06 08:57:30 ERROR : readObject: expect { or , or } or n, but found: , head: 1, peek: , buf:
22/11/06 08:57:30 ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
java.lang.RuntimeException: com.jsoniter.spi.JsonException: readObject: expect { or , or } or n, but found: , head: 1, peek: , buf:
It seems there might be conflicting or duplicate class definitions, possibly due to the MutableURLClassLoader attempting to load the same class from different sources. Check your classpath or dependencies to ensure there are no conflicting versions of the JSONiter library or other dependencies that might include it.
Activity
kothakokila commentedon Jun 24, 2024
It seems there might be conflicting or duplicate class definitions, possibly due to the MutableURLClassLoader attempting to load the same class from different sources. Check your classpath or dependencies to ensure there are no conflicting versions of the JSONiter library or other dependencies that might include it.