liquibase.parser.core.ParsedNodeException

liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2

Samebug tips5

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}"


rafaelrafael

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web8290

  • via Unknown by Thomas Beauvais,
  • via Unknown by Thomas Beauvais,
  • via Unknown by pincop...@yahoo.it,
  • Stack trace

    • liquibase.parser.core.ParsedNodeException: liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2 at liquibase.change.custom.CustomChangeWrapper.load(CustomChangeWrapper.java:295) 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$$anonfun$apply$mcV$sp$1.apply(Play.scala:91) at scala.collection.immutable.List.foreach(List.scala:381) 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 play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:130) at scala.Option.map(Option.scala:145) at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:130) at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:128) 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) Caused by: liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2 at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:96) at liquibase.change.custom.CustomChangeWrapper.load(CustomChangeWrapper.java:293) ... 37 more Caused by: 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) ... 38 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    jokesterjokester
    Once,
    olle.hallinolle.hallin
    Once,
    poroszdporoszd
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1669 more bugmates