Hellow Friends,
we are in the process of migrating from liquibase 2.0 to 3.1. our installer is giving attached exception when we try to upgrade it. any help in this regard is deeply appreciated.
thanks!
Hellow Friends,
we are in the process of migrating from liquibase 2.0 to 3.1. our installer is giving attached exception when we try to upgrade it. any help in this regard is deeply appreciated.
thanks!
Your attachment doesn’t seem to be here.
Hi
Sorry for the delayed response. please see the below log messages from my installer logs
SEVERE 3/27/14 3:50 PM:liquibase: Cannot load class ‘liquibase/snapshot/ResultSetCache$ResultSetExtractor$1.class’ in classloader: java.net.URLClassLoader@1f66cff. Reason: java.lang.IllegalAccessError: class liquibase.snapshot.ResultSetCache$ResultSetExtractor$1 cannot access its superclass liquibase.executor.jvm.ColumnMapRowMapper
java.lang.IllegalAccessError: class liquibase.snapshot.ResultSetCache$ResultSetExtractor$1 cannot access its superclass liquibase.executor.jvm.ColumnMapRowMapper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at liquibase.servicelocator.DefaultPackageScanClassResolver.addIfMatching(DefaultPackageScanClassResolver.java:361)
at liquibase.servicelocator.DefaultPackageScanClassResolver.loadImplementationsInJar(DefaultPackageScanClassResolver.java:329)
at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:207)
at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:113)
at liquibase.servicelocator.DefaultPackageScanClassResolver.findImplementations(DefaultPackageScanClassResolver.java:83)
at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:170)
at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:145)
at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:109)
at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:158)
at liquibase.logging.LogFactory.getLogger(LogFactory.java:17)
at liquibase.logging.LogFactory.getLogger(LogFactory.java:30)
at liquibase.integration.commandline.Main.doMigration(Main.java:599)
at liquibase.integration.commandline.Main.main(Main.java:116)
SEVERE 3/27/14 3:50 PM:liquibase: Cannot load class ‘liquibase/lockservice/StandardLockService.class’ in classloader: java.net.URLClassLoader@1f66cff. Reason: java.lang.IncompatibleClassChangeError: Implementing class
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at liquibase.servicelocator.DefaultPackageScanClassResolver.addIfMatching(DefaultPackageScanClassResolver.java:361)
at liquibase.servicelocator.DefaultPackageScanClassResolver.loadImplementationsInJar(DefaultPackageScanClassResolver.java:329)
at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:207)
at liquibase.servicelocator.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:113)
at liquibase.servicelocator.DefaultPackageScanClassResolver.findImplementations(DefaultPackageScanClassResolver.java:83)
at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:170)
at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:145)
at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:109)
at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:158)
at liquibase.logging.LogFactory.getLogger(LogFactory.java:17)
at liquibase.logging.LogFactory.getLogger(LogFactory.java:30)
at liquibase.integration.commandline.Main.doMigration(Main.java:599)
at liquibase.integration.commandline.Main.main(Main.java:116)
Do you know what command line the installer is using?
Also, what is the full classpath?
The problem seems to start at the liquibase main command line, and then somewhere along the line it seems to be attempting to load classes that don’t exist in the new version.
Any response to this question is greatly appreciated