ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <nathan.ma...@gmail.com>
Subject Re: Migration schema windows script
Date Fri, 05 Feb 2010 18:23:36 GMT
Best to open a JIRA so that we can track it.  Drop your patch into the ticket and we can get
this fixed right away.

Nathan

On Feb 5, 2010, at 11:01 AM, Marco Speranza wrote:

> 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: 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.
> 
> 
> I've also fix this problem, can I post the fixed script in this ML or I have to open
a Jiira bug?
> 
> thanks 
> 
> 
> -- 
> Marco Speranza <marco.speranza79@gmail.com>

Nathan Maves
nathan.maves@gmail.com




Mime
View raw message