jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.5k stars 4.02k forks source link

Application won't start after upgrading to SB 2.4.3 #14134

Closed pmverma closed 3 years ago

pmverma commented 3 years ago
Overview of the issue

Getting following error when starting application.

C:\Users\pmverma\.jdks\openjdk-15.0.2\bin\java.exe --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -Xms4g -Xmx8g -XX:TieredStopAtLevel=1 -noverify -Dspring.profiles.active=dev -Dspring.output.ansi.enabled=always -javaagent:C:\Users\pmverma\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\203.7148.57\lib\idea_rt.jar=51338:C:\Users\pmverma\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\203.7148.57\bin -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath D:\10-projects\github\venustulips\JlptSubmissionApp\target\classes;C:\Users\pmverma\.m2\repository\com\github\javafaker\javafaker\1.0.2\javafaker-1.0.2.jar;C:\Users\pmverma\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23-android.jar;C:\Users\pmverma\.m2\repository\com\github\mifmif\generex\1.0.2\generex-1.0.2.jar;C:\Users\pmverma\.m2\repository\dk\brics\automaton\automaton\1.11-8\automaton-1.11-8.jar;C:\Users\pmverma\.m2\repository\org\springframework\session\spring-session-hazelcast\2.4.2\spring-session-hazelcast-2.4.2.jar;C:\Users\pmverma\.m2\repository\org\springframework\session\spring-session-core\2.4.2\spring-session-core-2.4.2.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-jcl\5.3.4\spring-jcl-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-context\5.3.4\spring-context-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-beans\5.3.4\spring-beans-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-expression\5.3.4\spring-expression-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\retry\spring-retry\1.3.0\spring-retry-1.3.0.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-core\5.3.4\spring-core-5.3.4.jar;C:\Users\pmverma\.m2\repository\commons-io\commons-io\2.8.0\commons-io-2.8.0.jar;C:\Users\pmverma\.m2\repository\net\lingala\zip4j\zip4j\2.6.4\zip4j-2.6.4.jar;C:\Users\pmverma\.m2\repository\org\webjars\webjars-locator\0.30\webjars-locator-0.30.jar;C:\Users\pmverma\.m2\repository\org\webjars\webjars-locator-core\0.46\webjars-locator-core-0.46.jar;C:\Users\pmverma\.m2\repository\io\github\classgraph\classgraph\4.8.69\classgraph-4.8.69.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;C:\Users\pmverma\.m2\repository\org\webjars\jquery\3.5.1\jquery-3.5.1.jar;C:\Users\pmverma\.m2\repository\org\webjars\bootstrap\4.5.3\bootstrap-4.5.3.jar;C:\Users\pmverma\.m2\repository\org\webjars\datatables-fixedheader\3.1.7\datatables-fixedheader-3.1.7.jar;C:\Users\pmverma\.m2\repository\org\webjars\datatables\1.10.21\datatables-1.10.21.jar;C:\Users\pmverma\.m2\repository\org\webjars\npm\moment\2.18.1\moment-2.18.1.jar;C:\Users\pmverma\.m2\repository\org\webjars\bootstrap-select\1.6.2\bootstrap-select-1.6.2.jar;C:\Users\pmverma\.m2\repository\org\webjars\popper.js\1.16.0\popper.js-1.16.0.jar;C:\Users\pmverma\.m2\repository\org\webjars\font-awesome\5.11.2\font-awesome-5.11.2.jar;C:\Users\pmverma\.m2\repository\org\webjars\bower\jquery.easing\1.3.0\jquery.easing-1.3.0.jar;C:\Users\pmverma\.m2\repository\org\webjars\bower\jquery\3.5.1\jquery-3.5.1.jar;C:\Users\pmverma\.m2\repository\org\webjars\bower\bootstrap-datepicker\1.9.0\bootstrap-datepicker-1.9.0.jar;C:\Users\pmverma\.m2\repository\org\webjars\Eonasdan-bootstrap-datetimepicker\4.17.47\Eonasdan-bootstrap-datetimepicker-4.17.47.jar;C:\Users\pmverma\.m2\repository\org\webjars\momentjs\2.10.3\momentjs-2.10.3.jar;C:\Users\pmverma\.m2\repository\org\webjars\npm\summernote\0.8.18\summernote-0.8.18.jar;C:\Users\pmverma\.m2\repository\org\webjars\bowergithub\sortablejs\sortable\1.10.2\sortable-1.10.2.jar;C:\Users\pmverma\.m2\repository\org\webjars\jquery.fileDownload\50171edfab\jquery.fileDownload-50171edfab.jar;C:\Users\pmverma\.m2\repository\org\jsoup\jsoup\1.13.1\jsoup-1.13.1.jar;C:\Users\pmverma\.m2\repository\org\apache\poi\poi-ooxml\4.1.2\poi-ooxml-4.1.2.jar;C:\Users\pmverma\.m2\repository\org\apache\poi\poi\4.1.2\poi-4.1.2.jar;C:\Users\pmverma\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\pmverma\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\pmverma\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\pmverma\.m2\repository\org\apache\poi\poi-ooxml-schemas\4.1.2\poi-ooxml-schemas-4.1.2.jar;C:\Users\pmverma\.m2\repository\org\apache\xmlbeans\xmlbeans\3.1.0\xmlbeans-3.1.0.jar;C:\Users\pmverma\.m2\repository\org\apache\commons\commons-compress\1.19\commons-compress-1.19.jar;C:\Users\pmverma\.m2\repository\com\github\virtuald\curvesapi\1.06\curvesapi-1.06.jar;C:\Users\pmverma\.m2\repository\com\opencsv\opencsv\5.3\opencsv-5.3.jar;C:\Users\pmverma\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\pmverma\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\pmverma\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\pmverma\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\pmverma\.m2\repository\org\apache\pdfbox\pdfbox\2.0.21\pdfbox-2.0.21.jar;C:\Users\pmverma\.m2\repository\org\apache\pdfbox\fontbox\2.0.21\fontbox-2.0.21.jar;C:\Users\pmverma\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\pmverma\.m2\repository\org\webjars\npm\particlesjs\2.2.3\particlesjs-2.2.3.jar;C:\Users\pmverma\.m2\repository\org\webjars\npm\github-com-fengyuanchen-cropperjs\1.5.9\github-com-fengyuanchen-cropperjs-1.5.9.jar;C:\Users\pmverma\.m2\repository\org\webjars\npm\jquery-cropper\1.0.1\jquery-cropper-1.0.1.jar;C:\Users\pmverma\.m2\repository\nz\net\ultraq\thymeleaf\thymeleaf-layout-dialect\2.5.2\thymeleaf-layout-dialect-2.5.2.jar;C:\Users\pmverma\.m2\repository\org\codehaus\groovy\groovy\2.5.14\groovy-2.5.14.jar;C:\Users\pmverma\.m2\repository\nz\net\ultraq\extensions\groovy-extensions\0.3.0\groovy-extensions-0.3.0.jar;C:\Users\pmverma\.m2\repository\nz\net\ultraq\thymeleaf\thymeleaf-expression-processor\1.2.0\thymeleaf-expression-processor-1.2.0.jar;C:\Users\pmverma\.m2\repository\org\thymeleaf\thymeleaf\3.0.12.RELEASE\thymeleaf-3.0.12.RELEASE.jar;C:\Users\pmverma\.m2\repository\ognl\ognl\3.1.26\ognl-3.1.26.jar;C:\Users\pmverma\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;C:\Users\pmverma\.m2\repository\org\flywaydb\flyway-core\7.1.1\flyway-core-7.1.1.jar;C:\Users\pmverma\.m2\repository\tech\jhipster\jhipster-framework\7.0.0-SNAPSHOT\jhipster-framework-7.0.0-SNAPSHOT.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-context-support\5.3.4\spring-context-support-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.4.3\spring-boot-starter-validation-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.4.3\spring-boot-autoconfigure-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.4.3\spring-boot-starter-aop-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;C:\Users\pmverma\.m2\repository\net\logstash\logback\logstash-logback-encoder\6.6\logstash-logback-encoder-6.6.jar;C:\Users\pmverma\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.4.3\spring-boot-starter-cache-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter\2.4.3\spring-boot-starter-2.4.3.jar;C:\Users\pmverma\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\pmverma\.m2\repository\org\yaml\snakeyaml\1.27\snakeyaml-1.27.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.11.4\jackson-module-jaxb-annotations-2.11.4.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;C:\Users\pmverma\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\pmverma\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-hibernate5\2.11.4\jackson-datatype-hibernate5-2.11.4.jar;C:\Users\pmverma\.m2\repository\javax\transaction\javax.transaction-api\1.3\javax.transaction-api-1.3.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-hppc\2.11.4\jackson-datatype-hppc-2.11.4.jar;C:\Users\pmverma\.m2\repository\com\carrotsearch\hppc\0.8.1\hppc-0.8.1.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-oas\3.0.0\springfox-oas-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\swagger\core\v3\swagger-annotations\2.1.2\swagger-annotations-2.1.2.jar;C:\Users\pmverma\.m2\repository\io\swagger\core\v3\swagger-models\2.1.2\swagger-models-2.1.2.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-spi\3.0.0\springfox-spi-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-schema\3.0.0\springfox-schema-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-core\3.0.0\springfox-core-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-spring-web\3.0.0\springfox-spring-web-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-spring-webmvc\3.0.0\springfox-spring-webmvc-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-spring-webflux\3.0.0\springfox-spring-webflux-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-swagger-common\3.0.0\springfox-swagger-common-3.0.0.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\pmverma\.m2\repository\org\springframework\plugin\spring-plugin-core\2.0.0.RELEASE\spring-plugin-core-2.0.0.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\springframework\plugin\spring-plugin-metadata\2.0.0.RELEASE\spring-plugin-metadata-2.0.0.RELEASE.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-swagger2\3.0.0\springfox-swagger2-3.0.0.jar;C:\Users\pmverma\.m2\repository\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;C:\Users\pmverma\.m2\repository\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;C:\Users\pmverma\.m2\repository\io\springfox\springfox-bean-validators\3.0.0\springfox-bean-validators-3.0.0.jar;C:\Users\pmverma\.m2\repository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;C:\Users\pmverma\.m2\repository\org\apache\commons\commons-lang3\3.11\commons-lang3-3.11.jar;C:\Users\pmverma\.m2\repository\javax\cache\cache-api\1.1.1\cache-api-1.1.1.jar;C:\Users\pmverma\.m2\repository\com\hazelcast\hazelcast\4.1.1\hazelcast-4.1.1.jar;C:\Users\pmverma\.m2\repository\com\hazelcast\hazelcast-hibernate53\2.2.0\hazelcast-hibernate53-2.2.0.jar;C:\Users\pmverma\.m2\repository\com\github\ben-manes\caffeine\caffeine\2.8.8\caffeine-2.8.8.jar;C:\Users\pmverma\.m2\repository\com\google\errorprone\error_prone_annotations\2.4.0\error_prone_annotations-2.4.0.jar;C:\Users\pmverma\.m2\repository\com\hazelcast\hazelcast-spring\4.1.1\hazelcast-spring-4.1.1.jar;C:\Users\pmverma\.m2\repository\org\hibernate\hibernate-jpamodelgen\5.4.28.Final\hibernate-jpamodelgen-5.4.28.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\pmverma\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\pmverma\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.3\jaxb-runtime-2.3.3.jar;C:\Users\pmverma\.m2\repository\org\glassfish\jaxb\txw2\2.3.3\txw2-2.3.3.jar;C:\Users\pmverma\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.11\istack-commons-runtime-3.0.11.jar;C:\Users\pmverma\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\pmverma\.m2\repository\org\hibernate\hibernate-core\5.4.28.Final\hibernate-core-5.4.28.Final.jar;C:\Users\pmverma\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\pmverma\.m2\repository\org\javassist\javassist\3.27.0-GA\javassist-3.27.0-GA.jar;C:\Users\pmverma\.m2\repository\net\bytebuddy\byte-buddy\1.10.20\byte-buddy-1.10.20.jar;C:\Users\pmverma\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\pmverma\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.1.1.Final\jboss-transaction-api_1.2_spec-1.1.1.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\jandex\2.2.3.Final\jandex-2.2.3.Final.jar;C:\Users\pmverma\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\pmverma\.m2\repository\org\dom4j\dom4j\2.1.3\dom4j-2.1.3.jar;C:\Users\pmverma\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\pmverma\.m2\repository\org\hibernate\validator\hibernate-validator\6.1.7.Final\hibernate-validator-6.1.7.Final.jar;C:\Users\pmverma\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\pmverma\.m2\repository\org\postgresql\postgresql\42.2.18\postgresql-42.2.18.jar;C:\Users\pmverma\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\pmverma\.m2\repository\org\mapstruct\mapstruct\1.4.1.Final\mapstruct-1.4.1.Final.jar;C:\Users\pmverma\.m2\repository\org\mapstruct\mapstruct-processor\1.4.1.Final\mapstruct-processor-1.4.1.Final.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.4.3\spring-boot-configuration-processor-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-loader-tools\2.4.3\spring-boot-loader-tools-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.4.3\spring-boot-starter-actuator-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.4.3\spring-boot-actuator-autoconfigure-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-actuator\2.4.3\spring-boot-actuator-2.4.3.jar;C:\Users\pmverma\.m2\repository\io\micrometer\micrometer-core\1.6.4\micrometer-core-1.6.4.jar;C:\Users\pmverma\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\pmverma\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.4.3\spring-boot-starter-data-jpa-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.4.3\spring-boot-starter-jdbc-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-jdbc\5.3.4\spring-jdbc-5.3.4.jar;C:\Users\pmverma\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\pmverma\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\data\spring-data-jpa\2.4.5\spring-data-jpa-2.4.5.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-orm\5.3.4\spring-orm-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-tx\5.3.4\spring-tx-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-aspects\5.3.4\spring-aspects-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.4.3\spring-boot-starter-logging-2.4.3.jar;C:\Users\pmverma\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\pmverma\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\pmverma\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;C:\Users\pmverma\.m2\repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;C:\Users\pmverma\.m2\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-mail\2.4.3\spring-boot-starter-mail-2.4.3.jar;C:\Users\pmverma\.m2\repository\com\sun\mail\jakarta.mail\1.6.5\jakarta.mail-1.6.5.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.4.3\spring-boot-starter-security-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-aop\5.3.4\spring-aop-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\security\spring-security-config\5.4.5\spring-security-config-5.4.5.jar;C:\Users\pmverma\.m2\repository\org\springframework\security\spring-security-web\5.4.5\spring-security-web-5.4.5.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.4.3\spring-boot-starter-thymeleaf-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.12.RELEASE\thymeleaf-spring5-3.0.12.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.4.3\spring-boot-starter-web-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.4.3\spring-boot-starter-json-2.4.3.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;C:\Users\pmverma\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-web\5.3.4\spring-web-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\spring-webmvc\5.3.4\spring-webmvc-5.3.4.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot\2.4.3\spring-boot-2.4.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\security\spring-security-core\5.4.5\spring-security-core-5.4.5.jar;C:\Users\pmverma\.m2\repository\org\zalando\problem-spring-web\0.26.2\problem-spring-web-0.26.2.jar;C:\Users\pmverma\.m2\repository\org\zalando\problem-violations\0.26.2\problem-violations-0.26.2.jar;C:\Users\pmverma\.m2\repository\org\zalando\problem-spring-common\0.26.2\problem-spring-common-0.26.2.jar;C:\Users\pmverma\.m2\repository\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;C:\Users\pmverma\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\pmverma\.m2\repository\org\zalando\problem\0.25.0\problem-0.25.0.jar;C:\Users\pmverma\.m2\repository\org\zalando\jackson-datatype-problem\0.25.0\jackson-datatype-problem-0.25.0.jar;C:\Users\pmverma\.m2\repository\org\zalando\faux-pas\0.8.0\faux-pas-0.8.0.jar;C:\Users\pmverma\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\Users\pmverma\.m2\repository\org\springframework\security\spring-security-data\5.4.5\spring-security-data-5.4.5.jar;C:\Users\pmverma\.m2\repository\org\springframework\data\spring-data-commons\2.4.5\spring-data-commons-2.4.5.jar;C:\Users\pmverma\.m2\repository\io\micrometer\micrometer-registry-prometheus\1.6.4\micrometer-registry-prometheus-1.6.4.jar;C:\Users\pmverma\.m2\repository\io\prometheus\simpleclient_common\0.9.0\simpleclient_common-0.9.0.jar;C:\Users\pmverma\.m2\repository\io\prometheus\simpleclient\0.10.0\simpleclient-0.10.0.jar;C:\Users\pmverma\.m2\repository\io\dropwizard\metrics\metrics-core\4.1.17\metrics-core-4.1.17.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-starter-undertow\2.4.3\spring-boot-starter-undertow-2.4.3.jar;C:\Users\pmverma\.m2\repository\io\undertow\undertow-core\2.2.4.Final\undertow-core-2.2.4.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\xnio\xnio-api\3.8.0.Final\xnio-api-3.8.0.Final.jar;C:\Users\pmverma\.m2\repository\org\wildfly\common\wildfly-common\1.5.2.Final\wildfly-common-1.5.2.Final.jar;C:\Users\pmverma\.m2\repository\org\wildfly\client\wildfly-client-config\1.0.1.Final\wildfly-client-config-1.0.1.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\xnio\xnio-nio\3.8.0.Final\xnio-nio-3.8.0.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\threads\jboss-threads\3.1.0.Final\jboss-threads-3.1.0.Final.jar;C:\Users\pmverma\.m2\repository\io\undertow\undertow-servlet\2.2.4.Final\undertow-servlet-2.2.4.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\spec\javax\annotation\jboss-annotations-api_1.3_spec\2.0.1.Final\jboss-annotations-api_1.3_spec-2.0.1.Final.jar;C:\Users\pmverma\.m2\repository\io\undertow\undertow-websockets-jsr\2.2.4.Final\undertow-websockets-jsr-2.2.4.Final.jar;C:\Users\pmverma\.m2\repository\org\jboss\spec\javax\websocket\jboss-websocket-api_1.1_spec\2.0.0.Final\jboss-websocket-api_1.1_spec-2.0.0.Final.jar;C:\Users\pmverma\.m2\repository\jakarta\servlet\jakarta.servlet-api\4.0.4\jakarta.servlet-api-4.0.4.jar;C:\Users\pmverma\.m2\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;C:\Users\pmverma\.m2\repository\org\springframework\boot\spring-boot-devtools\2.4.3\spring-boot-devtools-2.4.3.jar mm.com.dat.jlpt.JlptSubmissionApp
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
13:17:26.427 [restartedMain] DEBUG org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - Application failed to start due to an exception
java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.LoaderOptions.setMaxAliasesForCollections(int)'
    at org.springframework.boot.env.OriginTrackedYamlLoader.createYaml(OriginTrackedYamlLoader.java:69)
    at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:164)
    at org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:84)
    at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:50)
    at org.springframework.boot.context.config.StandardConfigDataLoader.load(StandardConfigDataLoader.java:48)
    at org.springframework.boot.context.config.StandardConfigDataLoader.load(StandardConfigDataLoader.java:34)
    at org.springframework.boot.context.config.ConfigDataLoaders.load(ConfigDataLoaders.java:103)
    at org.springframework.boot.context.config.ConfigDataImporter.load(ConfigDataImporter.java:118)
    at org.springframework.boot.context.config.ConfigDataImporter.resolveAndLoad(ConfigDataImporter.java:82)
    at org.springframework.boot.context.config.ConfigDataEnvironmentContributors.withProcessedImports(ConfigDataEnvironmentContributors.java:121)
    at org.springframework.boot.context.config.ConfigDataEnvironment.processInitial(ConfigDataEnvironment.java:242)
    at org.springframework.boot.context.config.ConfigDataEnvironment.processAndApply(ConfigDataEnvironment.java:230)
    at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigDataEnvironmentPostProcessor.java:97)
    at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigDataEnvironmentPostProcessor.java:89)
    at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEnvironmentPreparedEvent(EnvironmentPostProcessorApplicationListener.java:100)
    at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEvent(EnvironmentPostProcessorApplicationListener.java:86)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
    at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82)
    at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)
    at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)
    at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62)
    at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:362)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    at mm.com.dat.jlpt.JlptSubmissionApp.main(JlptSubmissionApp.java:72)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
13:17:26.428 [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - 

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.boot.env.OriginTrackedYamlLoader.createYaml(OriginTrackedYamlLoader.java:69)

The following method did not exist:

    'void org.yaml.snakeyaml.LoaderOptions.setMaxAliasesForCollections(int)'

The method's class, org.yaml.snakeyaml.LoaderOptions, is available from the following locations:

    jar:file:/C:/Users/pmverma/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23-android.jar!/org/yaml/snakeyaml/LoaderOptions.class
    jar:file:/C:/Users/pmverma/.m2/repository/org/yaml/snakeyaml/1.27/snakeyaml-1.27.jar!/org/yaml/snakeyaml/LoaderOptions.class

The class hierarchy was loaded from the following locations:

    org.yaml.snakeyaml.LoaderOptions: file:/C:/Users/pmverma/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23-android.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of org.yaml.snakeyaml.LoaderOptions

Process finished with exit code 0
Motivation for or Use Case

Application should start normally without any error.

Reproduce the error
  1. Generate app using current main branch (see #14131, SB 2.4.3 is not yet used)
  2. Start the app
Related issues
Suggest a Fix

No idea why it is failing but declaring the snakeyaml dependency in generated pom.xml is working.

        <dependency>
            <groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
        </dependency>

Version will be automatically picked from springboot bom.

JHipster Version(s)

Current main branch

JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
DanielFran commented 3 years ago

@pmverma Can you confirm that with current main this issue did not happen anymore? Should be fixed with https://github.com/jhipster/generator-jhipster/pull/14043

pmverma commented 3 years ago

Sorry for bothering. It was a transitive dependency issue with javafaker. I am closing this issue as it was not originated from JHipster.