Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0 Beta 9
    • 3.0 Beta 10
    • Migrations
    • None
    • Windows

    Description

      if into %MIGRATION_HOME%/lib there are more then one jar, the script migration.cmd raise this exception:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ibatis/migration/Migrator
      Caused by: java.lang.ClassNotFoundException: org.apache.ibatis.migration.Migrator
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      Could not find the main class: org.apache.ibatis.migration.Migrator. Program will exit.

      The problem is that the loop into migrate.cmd script do not collects all jar into the 'lib' folder.

      Attachments

        1. migrate.cmd
          0.3 kB
          Marco Speranza

        Activity

          People

            cbegin Clinton Begin
            marco.speranza Marco Speranza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment