Pls find below what I’m writing and what I’m getting.
“C:\Program Files\Java\jdk1.6.0_13\bin\java” “-classpath” “c:/Users/looser/.m2/repository/org/liquibase/ext/liquibase-hibernate/2.0.0/liquibase-hibernate-2.0.0.jar;c:/Users/looser/.m2/repository/mysql/mysql-connector-java/5.1.13/mysql-connector-java-5.1.13.jar;c:/Users/looser/.m2/repository/org/hibernate/hibernate-core/3.5.5-Final/hibernate-core-3.5.5-Final.jar;c:/Users/looser/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar;c:/Users/looser/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar;c:/Users/looser/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar;c:/Users/looser/.m2/repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar;c:/Users/looser/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar;c:/Users/looser/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar;c:/Users/looser/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar;c:/Users/looser/.m2/repository/org/hibernate/hibernate-entitymanager/3.5.5-Final/hibernate-entitymanager-3.5.5-Final.jar;c:/Users/looser/.m2/repository/org/hibernate/hibernate-annotations/3.5.5-Final/hibernate-annotations-3.5.5-Final.jar;c:/Users/looser/.m2/repository/org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar;c:/Users/looser/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.jar;c:/Users/looser/.m2/repository/org/hibernate/hibernate-validator/4.1.0.Final/hibernate-validator-4.1.0.Final.jar;c:/Users/looser/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar;c:/Users/looser/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar;c:/Users/looser/.m2/repository/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.jar;c:/Users/looser/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar;c:/Users/looser/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar;c:/Users/looser/.m2/repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar;c:/Users/looser/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar;c:/Users/looser/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar;e:/dev/proj/webui/src/main/resources” “-Xmx256M” “-jar” “c:/Users/looser/.m2/repository/org/liquibase/liquibase-core/2.0.1/liquibase-core-2.0.1.jar” “–changeLogFile=e:/dev/proj/webui/src/main/resources/db/db.changelog-0.0.xml” “–url=hibernate:META-INF/persistence.xml” “diffChangeLog” “logLevel=finest” “–referenceDriver=com.mysql.jdbc.Driver” “–referenceUrl=jdbc:mysql://localhost:3306/mymedstory” “–referenceUsername=mymedstory” "–referencePassword=mymedstory"
Liquibase Update Failed: Cannot find database driver: Driver class was not specified and could not be determined from the url (hibernate:META-INF/persistence.xml)
SEVERE 08/03/11 21:11:liquibase: Cannot find database driver: Driver class was not specified and could not be determined from the url (hibernate:META-INF/persistence.xml)
liquibase.exception.DatabaseException: java.lang.RuntimeException: Cannot find database driver: Driver class was not specified and could not be determined from the url (hibernate:META-INF/persistence.xml)
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:111)
at liquibase.integration.commandline.Main.doMigration(Main.java:609)
at liquibase.integration.commandline.Main.main(Main.java:116)
Caused by: java.lang.RuntimeException: Cannot find database driver: Driver class was not specified and could not be determined from the url(hibernate:META-INF/persistence.xml)
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:70)
… 2 more
I’m trying to follow this help page: http://liquibase.org/manual/hibernate