Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error 'Cannot handle classloader url' with 1.1.1 #75

Open
doakd opened this issue Nov 29, 2023 · 0 comments
Open

Getting error 'Cannot handle classloader url' with 1.1.1 #75

doakd opened this issue Nov 29, 2023 · 0 comments

Comments

@doakd
Copy link

doakd commented Nov 29, 2023

[2023-11-29 18:41:57] WARNING [liquibase.resource] Cannot handle classloader url file:/opt/liquibase/lib/liquibase-databricks-1.1.1.jar: zip END header not found. Operations that need to list files from this location may not work as expected
java.lang.IllegalArgumentException: zip END header not found
at liquibase.resource.ZipResourceAccessor.(ZipResourceAccessor.java:52)
at liquibase.resource.ZipPathHandler.getResourceAccessor(ZipPathHandler.java:42)
at liquibase.resource.PathHandlerFactory.getResourceAccessor(PathHandlerFactory.java:37)
at liquibase.resource.ClassLoaderResourceAccessor.configureAdditionalResourceAccessors(ClassLoaderResourceAccessor.java:72)
at liquibase.resource.ClassLoaderResourceAccessor.configureAdditionalResourceAccessors(ClassLoaderResourceAccessor.java:86)
at liquibase.resource.ClassLoaderResourceAccessor.init(ClassLoaderResourceAccessor.java:55)
at liquibase.resource.ClassLoaderResourceAccessor.describeLocations(ClassLoaderResourceAccessor.java:34)
at liquibase.resource.CompositeResourceAccessor.describeLocations(CompositeResourceAccessor.java:82)
at liquibase.resource.SearchPathResourceAccessor.(SearchPathResourceAccessor.java:50)
at liquibase.resource.SearchPathResourceAccessor.(SearchPathResourceAccessor.java:21)
at liquibase.integration.commandline.LiquibaseCommandLine.configureResourceAccessor(LiquibaseCommandLine.java:832)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$configureScope$4(LiquibaseCommandLine.java:688)
at liquibase.Scope.lambda$child$0(Scope.java:184)
at liquibase.Scope.child(Scope.java:193)
at liquibase.Scope.child(Scope.java:183)
at liquibase.Scope.child(Scope.java:162)
at liquibase.integration.commandline.LiquibaseCommandLine.configureScope(LiquibaseCommandLine.java:688)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$3(LiquibaseCommandLine.java:366)
at liquibase.Scope.child(Scope.java:193)
at liquibase.Scope.child(Scope.java:169)
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:363)
at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:103)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at liquibase.integration.commandline.LiquibaseLauncher.main(LiquibaseLauncher.java:116)
Caused by: java.util.zip.ZipException: zip END header not found
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.findEND(ZipFileSystem.java:1320)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1534)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:179)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:106)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:339)
at liquibase.resource.ZipResourceAccessor.(ZipResourceAccessor.java:46)
... 26 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant