liquibase.parser.core.ParsedNodeException: liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Solutions on the web

via JIRA by Thomas Beauvais, 1 year ago
liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2
via JIRA by Thomas Beauvais, 1 year ago
liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2
java.lang.ClassNotFoundException: migrations.LiquibaseMigration2
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:87)
at liquibase.change.custom.CustomChangeWrapper.load(CustomChangeWrapper.java:293)
at liquibase.changelog.ChangeSet.toChange(ChangeSet.java:413)
at liquibase.changelog.ChangeSet.handleChildNode(ChangeSet.java:361)
at liquibase.changelog.ChangeSet.load(ChangeSet.java:292)
at liquibase.changelog.DatabaseChangeLog.createChangeSet(DatabaseChangeLog.java:379)
at liquibase.changelog.DatabaseChangeLog.handleChildNode(DatabaseChangeLog.java:240)
at liquibase.changelog.DatabaseChangeLog.load(DatabaseChangeLog.java:211)
at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:25)
at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:215)
at liquibase.Liquibase.update(Liquibase.java:192)
at liquibase.Liquibase.update(Liquibase.java:181)
at migrations.LiquibaseHelper.update(LiquibaseHelper.java:25)
at play.Global.onStart(Global.java:55)
at play.core.j.JavaGlobalSettingsAdapter.onStart(JavaGlobalSettingsAdapter.scala:22)
at play.api.GlobalPlugin.onStart(GlobalSettings.scala:220)
at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
at play.api.Play$.start(Play.scala:90)
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:157)
at scala.Option.map(Option.scala:145)
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:130)
at scala.util.Success.flatMap(Try.scala:230)
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:128)
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:120)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
at scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1361)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

Once, 14 hours ago
2 times, 3 days ago
2 times, 3 days ago
Once, 3 days ago
Once, 4 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.