Generator-jhipster: mvn liquibase:update gives liquibase.exception.SetupException

Created on 12 Feb 2015  Â·  16Comments  Â·  Source: jhipster/generator-jhipster

Hi,

When I run mvn liquibase:update command, it gives me SetupException.

mvn liquibase:update -e                                    
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building quiltadd 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- liquibase-maven-plugin:3.3.2:update (default-cli) @ quiltadd ---
[INFO] ------------------------------------------------------------------------
[INFO] Loading artfacts into URLClassLoader
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-annotation/3.1.0/metrics-annotation-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-graphite/3.1.0/metrics-graphite-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-healthchecks/3.1.0/metrics-healthchecks-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-json/3.1.0/metrics-json-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.4.4/jackson-databind-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-jvm/3.1.0/metrics-jvm-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-servlet/3.1.0/metrics-servlet-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/io/dropwizard/metrics/metrics-servlets/3.1.0/metrics-servlets-3.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-hibernate4/2.4.4/jackson-datatype-hibernate4-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.4.4/jackson-core-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-hppc/2.4.4/jackson-datatype-hppc-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/carrotsearch/hppc/0.6.0/hppc-0.6.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.4/jackson-datatype-joda-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.4/jackson-annotations-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-json-org/2.4.4/jackson-datatype-json-org-2.4.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/geronimo/bundles/json/20090211_1/json-20090211_1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/h2database/h2/1.4.182/h2-1.4.182.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/hazelcast/hazelcast/3.3.3/hazelcast-3.3.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/net/sourceforge/findbugs/annotations/1.3.2/annotations-1.3.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/eclipsesource/minimal-json/minimal-json/0.9.1/minimal-json-0.9.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/hazelcast/hazelcast-hibernate4/3.3.3/hazelcast-hibernate4-3.3.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/hazelcast/hazelcast-spring/3.3.3/hazelcast-spring-3.3.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/hazelcast/hazelcast-wm/3.3.3/hazelcast-wm-3.3.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/jayway/awaitility/awaitility/1.4.0/awaitility-1.4.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/objenesis/objenesis/1.2/objenesis-1.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/jayway/jsonpath/json-path/0.9.1/json-path-0.9.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/net/minidev/json-smart/1.2/json-smart-1.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/mangofactory/swagger-springmvc/0.8.8/swagger-springmvc-0.8.8.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/wordnik/swagger-core_2.10/1.3.5/swagger-core_2.10-1.3.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/module/jackson-module-jsonSchema/2.1.0/jackson-module-jsonSchema-2.1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.0.0/jackson-jaxrs-json-provider-2.0.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.0.0/jackson-module-jaxb-annotations-2.0.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/wordnik/swagger-annotations/1.3.5/swagger-annotations-1.3.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/json4s/json4s-ext_2.10/3.2.5/json4s-ext_2.10-3.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/scala-lang/scala-library/2.10.0/scala-library-2.10.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/joda/joda-convert/1.2/joda-convert-1.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/json4s/json4s-native_2.10/3.2.5/json4s-native_2.10-3.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/json4s/json4s-core_2.10/3.2.5/json4s-core_2.10-3.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/json4s/json4s-ast_2.10/3.2.5/json4s-ast_2.10-3.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/thoughtworks/paranamer/paranamer/2.5.6/paranamer-2.5.6.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/json4s/json4s-jackson_2.10/3.2.5/json4s-jackson_2.10-3.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-webmvc/4.1.3.RELEASE/spring-webmvc-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-web/4.1.3.RELEASE/spring-web-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/cglib/cglib/2.2/cglib-2.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/asm/asm/3.1/asm-3.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/google/guava/guava/15.0/guava-15.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/mangofactory/swagger/swagger-models/0.8.8/swagger-models-0.8.8.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/mattbertolini/liquibase-slf4j/1.2.1/liquibase-slf4j-1.2.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/ryantenney/metrics/metrics-spring/3.0.3/metrics-spring-3.0.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-core/4.1.3.RELEASE/spring-core-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-beans/4.1.3.RELEASE/spring-beans-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-aop/4.1.3.RELEASE/spring-aop-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/zaxxer/HikariCP/2.2.5/HikariCP-2.2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/joda-time/joda-time/2.5/joda-time-2.5.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/joda-time/joda-time-hibernate/1.3/joda-time-hibernate-1.3.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/assertj/assertj-core/1.6.1/assertj-core-1.6.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/hibernate-envers/4.3.6.Final/hibernate-envers-4.3.6.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/hibernate-core/4.3.6.Final/hibernate-core-4.3.6.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.2_spec/1.0.0.Final/jboss-transaction-api_1.2_spec-1.0.0.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/hibernate-entitymanager/4.3.6.Final/hibernate-entitymanager-4.3.6.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jadira/usertype/usertype.core/3.2.0.GA/usertype.core-3.2.0.GA.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/jadira/usertype/usertype.spi/3.2.0.GA/usertype.spi-3.2.0.GA.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/liquibase/liquibase-core/3.3.2/liquibase-core-3.3.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-context-support/4.1.3.RELEASE/spring-context-support-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-context/4.1.3.RELEASE/spring-context-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-actuator/1.2.0.RELEASE/spring-boot-actuator-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot/1.2.0.RELEASE/spring-boot-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.2.0.RELEASE/spring-boot-autoconfigure-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-loader-tools/1.2.0.RELEASE/spring-boot-loader-tools-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.2.0.RELEASE/spring-boot-starter-aop-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter/1.2.0.RELEASE/spring-boot-starter-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/aspectj/aspectjrt/1.8.4/aspectjrt-1.8.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/aspectj/aspectjweaver/1.8.4/aspectjweaver-1.8.4.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/1.2.0.RELEASE/spring-boot-starter-data-jpa-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.2.0.RELEASE/spring-boot-starter-jdbc-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-jdbc/4.1.3.RELEASE/spring-jdbc-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.0.15/tomcat-jdbc-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/tomcat-juli/8.0.15/tomcat-juli-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-tx/4.1.3.RELEASE/spring-tx-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-orm/4.1.3.RELEASE/spring-orm-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/data/spring-data-jpa/1.7.1.RELEASE/spring-data-jpa-1.7.1.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/data/spring-data-commons/1.9.1.RELEASE/spring-data-commons-1.9.1.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-aspects/4.1.3.RELEASE/spring-aspects-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.2.0.RELEASE/spring-boot-starter-logging-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/slf4j/jul-to-slf4j/1.7.7/jul-to-slf4j-1.7.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.7/log4j-over-slf4j-1.7.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/ch/qos/logback/logback-classic/1.1.2/logback-classic-1.1.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/ch/qos/logback/logback-core/1.1.2/logback-core-1.1.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-mail/1.2.0.RELEASE/spring-boot-starter-mail-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/com/sun/mail/javax.mail/1.5.2/javax.mail-1.5.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-security/1.2.0.RELEASE/spring-boot-starter-security-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-expression/4.1.3.RELEASE/spring-expression-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/security/spring-security-config/3.2.5.RELEASE/spring-security-config-3.2.5.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/security/spring-security-web/3.2.5.RELEASE/spring-security-web-3.2.5.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.2.0.RELEASE/spring-boot-starter-test-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/junit/junit/4.12/junit-4.12.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/mockito/mockito-core/1.10.8/mockito-core-1.10.8.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/spring-test/4.1.3.RELEASE/spring-test-4.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-thymeleaf/1.2.0.RELEASE/spring-boot-starter-thymeleaf-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/thymeleaf/thymeleaf-spring4/2.1.3.RELEASE/thymeleaf-spring4-2.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/thymeleaf/thymeleaf/2.1.3.RELEASE/thymeleaf-2.1.3.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/ognl/ognl/3.0.6/ognl-3.0.6.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/unbescape/unbescape/1.0/unbescape-1.0.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.2.7/thymeleaf-layout-dialect-1.2.7.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.2.0.RELEASE/spring-boot-starter-web-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.2.0.RELEASE/spring-boot-starter-tomcat-1.2.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.15/tomcat-embed-core-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.15/tomcat-embed-el-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.15/tomcat-embed-logging-juli-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.15/tomcat-embed-websocket-8.0.15.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/security/oauth/spring-security-oauth2/2.0.1.RELEASE/spring-security-oauth2-2.0.1.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/security/spring-security-core/3.2.5.RELEASE/spring-security-core-3.2.5.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/cloud/spring-cloud-cloudfoundry-connector/1.1.0.RELEASE/spring-cloud-cloudfoundry-connector-1.1.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/cloud/spring-cloud-core/1.1.0.RELEASE/spring-cloud-core-1.1.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/cloud/spring-cloud-spring-service-connector/1.1.0.RELEASE/spring-cloud-spring-service-connector-1.1.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/springframework/cloud/spring-cloud-localconfig-connector/1.1.0.RELEASE/spring-cloud-localconfig-connector-1.1.0.RELEASE.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
[INFO]   artifact: file:/Users/spoon/.m2/repository/fr/ippon/spark/metrics/metrics-spark-reporter/1.2/metrics-spark-reporter-1.2.jar
[INFO]   artifact: file:/Users/spoon/MyProjects/quiltadd/target/classes/
[INFO]   artifact: file:/Users/spoon/MyProjects/quiltadd/target/test-classes
[INFO] ------------------------------------------------------------------------
[INFO] Settings
----------------------------
[INFO]     driver: com.mysql.jdbc.Driver
[INFO]     url: jdbc:mysql://localhost:3306/quiltadd
[INFO]     username: quiltadd
[INFO]     password: *****
[INFO]     use empty password: false
[INFO]     properties file: null
[INFO]     properties file will override? false
[INFO]     prompt on non-local database? true
[INFO]     clear checksums? false
[INFO]     changeLogFile: src/main/resources/config/liquibase/master.xml
[INFO]     context(s): null
[INFO]     label(s): null
[INFO]     number of changes to apply: 0
[INFO]     drop first? false
[INFO] ------------------------------------------------------------------------
DEBUG 15. 2. 12 ���� 8:07: liquibase: Connected to quiltadd@localhost@jdbc:mysql://localhost:3306/quiltadd
DEBUG 15. 2. 12 ���� 8:07: liquibase: Setting auto commit to false from true
[INFO] Executing on Database: jdbc:mysql://localhost:3306/quiltadd
DEBUG 15. 2. 12 ���� 8:07: liquibase: Computed checksum for 1423696067456 as 8e862604d3a48c78eb0da9b2e369bbf1
DEBUG 15. 2. 12 ���� 8:07: liquibase: Executing QUERY database command: select count(*) from quiltadd.DATABASECHANGELOGLOCK
DEBUG 15. 2. 12 ���� 8:07: liquibase: Executing QUERY database command: SELECT LOCKED FROM quiltadd.DATABASECHANGELOGLOCK WHERE ID=1
DEBUG 15. 2. 12 ���� 8:07: liquibase: Lock Database
DEBUG 15. 2. 12 ���� 8:07: liquibase: Executing UPDATE database command: UPDATE quiltadd.DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = 'spoon-book.local (fe80:0:0:0:7c31:5bff:fe36:abaa%8)', LOCKGRANTED = '2015-02-12 08:07:47.497' WHERE ID = 1 AND LOCKED = 0
INFO 15. 2. 12 ���� 8:07: liquibase: Successfully acquired change log lock
DEBUG 15. 2. 12 ���� 8:07: liquibase: Resolving XML entity name='null', publicId='null', baseURI='null', systemId='http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd'
DEBUG 15. 2. 12 ���� 8:07: liquibase: Found namespace details class liquibase.parser.core.xml.StandardNamespaceDetails for http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd
DEBUG 15. 2. 12 ���� 8:07: liquibase: Local path for http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd is liquibase/parser/core/xml/dbchangelog-3.1.xsd
DEBUG 15. 2. 12 ���� 8:07: liquibase: Successfully loaded XSD from liquibase/parser/core/xml/dbchangelog-3.1.xsd
DEBUG 15. 2. 12 ���� 8:07: liquibase: Release Database Lock
DEBUG 15. 2. 12 ���� 8:07: liquibase: Executing UPDATE database command: UPDATE quiltadd.DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1
INFO 15. 2. 12 ���� 8:07: liquibase: Successfully released change log lock
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.823 s
[INFO] Finished at: 2015-02-12T08:07:47+09:00
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.2:update (default-cli) on project quiltadd: Error setting up or running Liquibase: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.2:update (default-cli) on project quiltadd: Error setting up or running Liquibase: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error setting up or running Liquibase: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist
        at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:373)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: liquibase.exception.ChangeLogParseException: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist
        at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:27)
        at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:215)
        at liquibase.Liquibase.update(Liquibase.java:192)
        at org.liquibase.maven.plugins.LiquibaseUpdate.doUpdate(LiquibaseUpdate.java:33)
        at org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo.performLiquibaseTask(AbstractLiquibaseUpdateMojo.java:24)
        at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:369)
        ... 21 more
Caused by: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist
        at liquibase.changelog.DatabaseChangeLog.handleChildNode(DatabaseChangeLog.java:250)
        at liquibase.changelog.DatabaseChangeLog.load(DatabaseChangeLog.java:211)
        at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:25)
        ... 26 more
Caused by: liquibase.exception.ChangeLogParseException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist
        at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:100)
        at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:17)
        at liquibase.changelog.DatabaseChangeLog.include(DatabaseChangeLog.java:356)
        at liquibase.changelog.DatabaseChangeLog.handleChildNode(DatabaseChangeLog.java:248)
        ... 28 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

All the change log xml is in position.

 ls -al src/main/resources/config/liquibase/changelog 
total 64
drwxr-xr-x  8 spoon  staff   272 Feb 12 07:49 .
drwxr-xr-x  7 spoon  staff   238 Feb 12 07:58 ..
-rw-r--r--  1 spoon  staff  9572 Feb 11 22:49 00000000000000_initial_schema.xml
-rw-r--r--  1 spoon  staff  1462 Feb 11 23:24 20150211140423_changelog.xml
-rw-r--r--  1 spoon  staff   919 Feb 11 22:57 20150211225749_added_entity_Notice.xml
-rw-r--r--  1 spoon  staff   927 Feb 12 07:48 20150212074837_added_entity_SiqfNotice.xml
-rw-r--r--  1 spoon  staff   927 Feb 12 07:48 20150212074852_added_entity_BiqfNotice.xml
-rw-r--r--  1 spoon  staff   927 Feb 12 07:49 20150212074905_added_entity_GiqfNotice.xml

Most helpful comment

I got liquibase:update running by changing the master file from this

<include file="classpath:config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

into this (I deleted the 'classpath' part):

 <include file="config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

This fixed the mvn liquibase:update, while running the application, without changes, in 'dev' profile didn't break.

Reading the liquibase documentation I found this

relativeToChangelogFile Is the file path relative to the root changelog file rather than to the classpath. Defaults to "false" since 1.9

from http://www.liquibase.org/documentation/include.html

Is there a special reason to have the "classpath:" part in the changelog which I'm not considering?

I was trying to use liquibase:update while trying to disable as much initialization as possible from the application.

Since changes to the domain classes were few compared to changes to the rest of the backend, it seemed like a good idea to save a few seconds and run liquibase updates only when needed. I know that there is a fast profile, but I couldn't get it to work. The app I am working in has changed a lot since it was first generated, so many features were lost. Maybe someone else who's trying to get liquibase:update to run can find this workaround useful.

All 16 comments

I've never runned this "liquibase:update" command -> our "normal" workflow is to use "liquibase:diff" to generate the diff file, and then run the app.

If you have an error with Liquibase, I suggest you post your issue on the Liquibase website.

I got liquibase:update running by changing the master file from this

<include file="classpath:config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

into this (I deleted the 'classpath' part):

 <include file="config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

This fixed the mvn liquibase:update, while running the application, without changes, in 'dev' profile didn't break.

Reading the liquibase documentation I found this

relativeToChangelogFile Is the file path relative to the root changelog file rather than to the classpath. Defaults to "false" since 1.9

from http://www.liquibase.org/documentation/include.html

Is there a special reason to have the "classpath:" part in the changelog which I'm not considering?

I was trying to use liquibase:update while trying to disable as much initialization as possible from the application.

Since changes to the domain classes were few compared to changes to the rest of the backend, it seemed like a good idea to save a few seconds and run liquibase updates only when needed. I know that there is a fast profile, but I couldn't get it to work. The app I am working in has changed a lot since it was first generated, so many features were lost. Maybe someone else who's trying to get liquibase:update to run can find this workaround useful.

I confirme that changing the master.xml file from

<include file="classpath:config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

To

<include file="config/liquibase/changelog/00000000000000_initial_schema.xml"
     relativeToChangelogFile="false"/>

Makes the mvn liquibase:update works.

I just ran into the same problem! Thank you pmarrone and walllzzz! Your solution solved my problem, too!

same problem same solution

is this a liquibase problem or a jhipster problem?

we do not configure to use liquibase:update so I dont know where the issue is. After you changed this does your normal liquibase table creation work from the app?

ok that is the downside of all these great tools, you get confused about who does what, quickly.

is the master.xml generated/updated by jhipster?

i run ./mvnw test and this works (i guess the databases is regenerated with this command)

As far as I remember (It's been a year since I touched JHiptster), I interpreted this as a little configuration mistake, since spring understands the "classpath:" directive, but the plugin, being run from maven, doesn't. I understand that using that path still invokes the classpath, so the normal invocation _should_ work just the same. I might be wrong, but I guess that it works, since nobody of those who put it in practice complained about it. It used to work in our application, and now that others have tried it, I guess this is a bonafide fix.

If normal use is not affected I guess we can remove the classpath but we
need to be sure
On 7 Jun 2016 20:47, "Patricio Marrone" [email protected] wrote:

As far as I remember (It's been a year since I touched JHiptster), I
interpreted this as a little configuration mistake, since spring
understands the "classpath:" directive, but the plugin, being run from
maven, doesn't. I understand that using that path still invokes the
classpath, so the normal invocation _should_ work just the same. I might
be wrong, but I guess that it works, since nobody of those who put it in
practice complained about it. It used to work in our application, and now
that others have tried it, I guess is a bonafide fix.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/generator-jhipster/issues/1130#issuecomment-224269552,
or mute the thread
https://github.com/notifications/unsubscribe/ABDlFy_p80qwbtx9hJ1-EiprqGNIw3m7ks5qJWhmgaJpZM4DfPFO
.

today and tomorrow i will be adding some entities to my model. if there is a problem i will let you know.

So, here is what I did:
Step1) remove "class path" from included files

Step2) Ran mvn liquibase:update

Worked fine; but there were some columns that did not get updated properly, So I continued..

Step3) Ran mvn liquibase:diff --> generates a changeLog file. Added this to master.sql and

Step4) Ran mvn liquibase:update

I am getting this error:
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.1:update (default-cli) on project corvette: Error setting up or running Liquibase: liquibase.exception.SetupException: config/liquibase/changelog/20160610202056_changelog.xml does not exist -> [Help 1]

So.. the same trick that worked for some files did not work for the diff file.. strange!

I just encountered this problem and fixed with your solution @pmarrone @walllzzz

In my situation, I was working through a guide to add a new user role and I must have forgotten to follow the recommended workflow when I was editing the database (i.e. run liqibase:diff) or somehow messed up a file.

In any case, when I attempted to build my project ./mvnw I was receiving a liquibase error during setup. The web suggested that I run ./mvnw liquibase:clearCheckSums but that didn't work by itself. By removing classpath: and running ./mvnw liquibase:update, everything built perfectly.

i have also same problem but when run ./mvw liquibase:update i got this error

[INFO] Settings
----------------------------
[INFO]     driver: com.mysql.jdbc.Driver
[INFO]     url: jdbc:mysql://localhost:3306/jhipsternew
[INFO]     username: root
[INFO]     password: *****
[INFO]     use empty password: false
[INFO]     properties file: null
[INFO]     properties file will override? false
[INFO]     prompt on non-local database? true
[INFO]     clear checksums? false
[INFO]     changeLogFile: src/main/resources/config/liquibase/master.xml
[INFO]     context(s): null
[INFO]     label(s): null
[INFO]     number of changes to apply: 0
[INFO]     drop first? false
[INFO] ------------------------------------------------------------------------
DEBUG 2/9/17 6:28 PM: liquibase: Connected to root@localhost@jdbc:mysql://localhost:3306/jhipsternew
DEBUG 2/9/17 6:28 PM: liquibase: Setting auto commit to false from true
DEBUG 2/9/17 6:28 PM: liquibase: Executing EXECUTE database command: USE jhipsternew
[INFO] Executing on Database: jdbc:mysql://localhost:3306/jhipsternew
DEBUG 2/9/17 6:28 PM: liquibase: Executing QUERY database command: select count(*) from jhipsternew.DATABASECHANGELOGLOCK
DEBUG 2/9/17 6:28 PM: liquibase: Executing QUERY database command: select count(*) from jhipsternew.DATABASECHANGELOGLOCK
DEBUG 2/9/17 6:28 PM: liquibase: Executing QUERY database command: SELECT LOCKED FROM jhipsternew.DATABASECHANGELOGLOCK WHERE ID=1
DEBUG 2/9/17 6:28 PM: liquibase: Lock Database
DEBUG 2/9/17 6:28 PM: liquibase: Executing UPDATE database command: UPDATE jhipsternew.DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = 'Icarat1-PC (169.254.102.68)', LOCKGRANTED = '2017-02-09 18:28:41.457' WHERE ID = 1 AND LOCKED = 0
INFO 2/9/17 6:28 PM: liquibase: Successfully acquired change log lock
DEBUG 2/9/17 6:28 PM: liquibase: Resolving XML entity name='null', publicId='null', baseURI='null', systemId='http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd'
DEBUG 2/9/17 6:28 PM: LiquibaseSchemaResolver: Found namespace details class liquibase.parser.core.xml.StandardNamespaceDetails for http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd
DEBUG 2/9/17 6:28 PM: LiquibaseSchemaResolver: Local path for http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd is liquibase/parser/core/xml/dbchangelog-3.4.xsd
DEBUG 2/9/17 6:28 PM: liquibase: Opening jar:file:/C:/Users/Icarat1/.m2/repository/org/liquibase/liquibase-core/3.5.3/liquibase-core-3.5.3.jar!/liquibase/parser/core/xml/dbchangelog-3.4.xsd as liquibase/parser/core/xml/dbchangelog-3.4.xsd
DEBUG 2/9/17 6:28 PM: LiquibaseSchemaResolver: Successfully loaded XSD from liquibase/parser/core/xml/dbchangelog-3.4.xsd
DEBUG 2/9/17 6:28 PM: liquibase: Release Database Lock
DEBUG 2/9/17 6:28 PM: liquibase: Executing UPDATE database command: UPDATE jhipsternew.DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1
INFO 2/9/17 6:28 PM: liquibase: Successfully released change log lock
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.544 s
[INFO] Finished at: 2017-02-09T18:28:42+05:30
[INFO] Final Memory: 21M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.5.3:update (default-cli) on project jhipsternew: Error setting up or running Liquibase: liquibase.exception.SetupException: classpath:config/liquibase/changelog/00000000000000_initial_schema.xml does not exist -> [Help 1]

how can i slove this

You don't need to run ./mvw liquibase:update the migrations are executed by your app when it starts up and by the way please don't post to an old issue and don't crosspost with stackoverflow.

http://stackoverflow.com/questions/42134079/jhipster-add-new-property-in-existing-entity

@abilash-diviso please don't spam an old ticket -> if you have a new issue, please follow the guidelines and create a new ticket

Hi, I have a workaround for this issue. Visit this response in stackoverflow liquibase:update + jhipster

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trajakovic picture trajakovic  Â·  4Comments

tomj0101 picture tomj0101  Â·  3Comments

edvjacek picture edvjacek  Â·  3Comments

lsadehaan picture lsadehaan  Â·  3Comments

frantzynicolas picture frantzynicolas  Â·  3Comments