`error: Could not deserialize` when importing a JAR file
`error: Could not deserialize` when importing a JAR file
我正在使用 Databricks,我尝试导入我的 Java/Scala 项目的 JAR 文件。
但是,导入失败并显示以下消息:
Import failed with error: Could not deserialize:
Unrecognized token 'Manifest': was expecting ('true', 'false' or 'null')?
at [Source: org.apache.commons.compress.archivers.jar.JarArchiveInputStream@cb8cd3d; line: 1, column: 10]
知道是什么原因造成的吗?
这件事发生在我身上。我就是这样解决的。
This error happens when you try to upload a library JAR via "Import" rather than "Create -> Library". So you should upload it by using "Create -> Library". Not the best UX, will be fixed soon.
我正在使用 Databricks,我尝试导入我的 Java/Scala 项目的 JAR 文件。
但是,导入失败并显示以下消息:
Import failed with error: Could not deserialize:
Unrecognized token 'Manifest': was expecting ('true', 'false' or 'null')?
at [Source: org.apache.commons.compress.archivers.jar.JarArchiveInputStream@cb8cd3d; line: 1, column: 10]
知道是什么原因造成的吗?
这件事发生在我身上。我就是这样解决的。
This error happens when you try to upload a library JAR via "Import" rather than "Create -> Library". So you should upload it by using "Create -> Library". Not the best UX, will be fixed soon.