ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Speranza <marco.speranz...@gmail.com>
Subject Migration schema windows script
Date Fri, 05 Feb 2010 18:01:52 GMT
Hi all

I found a little problem with the migration schema on the windows system.

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:
Caused by: java.lang.ClassNotFoundException:
        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.

I've also fix this problem, can I post the fixed script in this ML or I have
to open a Jiira bug?


Marco Speranza <marco.speranza79@gmail.com>

View raw message