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

JIRA | Thomas Beauvais | 2 years ago
  1. 0

    I had a migration work just fine.. and now that I add another one.. not.. {{ 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}}

    JIRA | 2 years ago | Thomas Beauvais
    liquibase.parser.core.ParsedNodeException: liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2
  2. 0

    I had a migration work just fine.. and now that I add another one.. not.. {{ 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}}

    JIRA | 2 years ago | Thomas Beauvais
    liquibase.parser.core.ParsedNodeException: liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: migrations.LiquibaseMigration2
  3. 0

    log4j:ERROR any idea ?

    Google Groups | 1 decade ago | pincop...@yahoo.it
    java.lang.ClassNotFoundException: org.apache.log4j.ConsoleAppender
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Web Service exception

    Oracle Community | 7 years ago | user647659
    fuego.web.execution.exception.UnexpectedExecutionException: Unexpected error during interactive component execution.
  6. 0

    log4j & WLS702

    Oracle Community | 1 decade ago | 3004
    java.lang.ClassNotFoundException: org.apache.log4j.ConsoleAppender

  1. gehel 1 times, last 4 days ago
  2. davidvanlaatum 3 times, last 5 days ago
  3. danleyb2Interintel 1 times, last 1 week ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. Kialandei 1 times, last 2 weeks ago
49 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    migrations.LiquibaseMigration2

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4. java.lang.Class.forName0(Native Method)
    5. java.lang.Class.forName(Class.java:348)
    5 frames
  3. Liquibase Core
    Liquibase.update
    1. liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:87)
    2. liquibase.change.custom.CustomChangeWrapper.load(CustomChangeWrapper.java:293)
    3. liquibase.changelog.ChangeSet.toChange(ChangeSet.java:413)
    4. liquibase.changelog.ChangeSet.handleChildNode(ChangeSet.java:361)
    5. liquibase.changelog.ChangeSet.load(ChangeSet.java:292)
    6. liquibase.changelog.DatabaseChangeLog.createChangeSet(DatabaseChangeLog.java:379)
    7. liquibase.changelog.DatabaseChangeLog.handleChildNode(DatabaseChangeLog.java:240)
    8. liquibase.changelog.DatabaseChangeLog.load(DatabaseChangeLog.java:211)
    9. liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:25)
    10. liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:215)
    11. liquibase.Liquibase.update(Liquibase.java:192)
    12. liquibase.Liquibase.update(Liquibase.java:181)
    12 frames
  4. migrations
    LiquibaseHelper.update
    1. migrations.LiquibaseHelper.update(LiquibaseHelper.java:25)
    1 frame
  5. Play
    Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply
    1. play.Global.onStart(Global.java:55)
    2. play.core.j.JavaGlobalSettingsAdapter.onStart(JavaGlobalSettingsAdapter.scala:22)
    3. play.api.GlobalPlugin.onStart(GlobalSettings.scala:220)
    4. play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
    5. play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
    5 frames
  6. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  7. Play
    ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply
    1. play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)
    2. play.api.Play$$anonfun$start$1.apply(Play.scala:91)
    3. play.api.Play$$anonfun$start$1.apply(Play.scala:91)
    4. play.utils.Threads$.withContextClassLoader(Threads.scala:21)
    5. play.api.Play$.start(Play.scala:90)
    6. play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:157)
    7. play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:130)
    7 frames
  8. Scala
    Option.map
    1. scala.Option.map(Option.scala:145)
    1 frame
  9. Play
    ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply
    1. play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:130)
    2. play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:128)
    2 frames
  10. Scala
    Success.flatMap
    1. scala.util.Success.flatMap(Try.scala:230)
    1 frame
  11. Play
    ReloadableApplication$$anonfun$get$1.apply
    1. play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:128)
    2. play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:120)
    2 frames
  12. Scala
    ForkJoinWorkerThread.run
    1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
    2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
    3. scala.concurrent.forkjoin.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1361)
    4. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
    5. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
    6. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    7. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    7 frames