generator-jhipster: Jhipster GAE success deployed but error: Server Error because missing dependencies
Overview of the issue
Server error after deploying to Google App Engine using generator jhipster gae
Stack trace from GCP Logs Viewer:
I 2020-06-01T17:07:14.169703Z GET 500 0 B 4.8 s Chrome 81 / GET 500 0 B 4.8 s Chrome 81 5ed535c200ff0296e75192e6820001627e746573742d323739303133000131000100 36.77.162.38 - - [02/Jun/2020:00:07:14 +0700] “GET / HTTP/1.1” 500 - - “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36” “test-279013.an.r.appspot.com” ms=4833 cpu_ms=14141 cpm_usd=0 loading_request=1 instance=00c61b117c2d487c12cf0fa5aaa7cf6d19ac60eafbd126042b0033516bd7359a08681194d69b app_engine_release=1.9.71 trace_id=88d39c0c041955caefa07fd46aa1cfe7 A 2020-06-01T17:07:17.624981Z Exception in thread “main” java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:140) at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107) Caused by: java.lang.IllegalStateException: Cannot build model at org.springframework.boot.loader.thin.DependencyResolver.dependencies(DependencyResolver.java:234) at org.springframework.boot.loader.thin.PathResolver.extract(PathResolver.java:220) at org.springframework.boot.loader.thin.PathResolver.resolve(PathResolver.java:101) at org.springframework.boot.loader.thin.ThinJarLauncher.getClassPathArchives(ThinJarLauncher.java:357) at org.springframework.boot.loader.Launcher.launch(Launcher.java:49) at org.springframework.boot.loader.thin.ThinJarLauncher.launch(ThinJarLauncher.java:193) at org.springframework.boot.loader.thin.ThinJarLauncher.main(ThinJarLauncher.java:140) … 6 more Caused by: hidden.org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: A 2020-06-01T17:07:17.625086Z [FATAL] Non-resolvable parent POM for org.springframework.data:spring-data-releasetrain:Moore-SR5: Could not transfer artifact org.springframework.data.build:spring-data-build:pom:2.2.5.RELEASE from/to local (file:///root/.m2/repository): /workspace/repository/org/springframework/data/build/spring-data-build/2.2.5.RELEASE/spring-data-build-2.2.5.RELEASE.pom.part.lock (No such file or directory) @ org.springframework.data:spring-data-releasetrain:Moore-SR5, /workspace/repository/org/springframework/data/spring-data-releasetrain/Moore-SR5/spring-data-releasetrain-Moore-SR5.pom, line 10, column 10 A 2020-06-01T17:07:17.625102Z [ERROR] ‘dependencies.dependency.version’ for io.github.jhipster:jhipster-framework:jar is missing. @ line 106, column 21 A 2020-06-01T17:07:17.625111Z [ERROR] ‘dependencies.dependency.version’ for javax.annotation:javax.annotation-api:jar is missing. @ line 110, column 21 A 2020-06-01T17:07:17.625121Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cache:jar is missing. @ line 115, column 21 A 2020-06-01T17:07:17.625137Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar is missing. @ line 119, column 21 A 2020-06-01T17:07:17.625148Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:jar is missing. @ line 123, column 21 A 2020-06-01T17:07:17.625157Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hppc:jar is missing. @ line 127, column 21 A 2020-06-01T17:07:17.625166Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar is missing. @ line 131, column 21 A 2020-06-01T17:07:17.625175Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-afterburner:jar is missing. @ line 135, column 21 A 2020-06-01T17:07:17.625184Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-swagger2:jar is missing. @ line 144, column 21 A 2020-06-01T17:07:17.625193Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-bean-validators:jar is missing. @ line 148, column 21 A 2020-06-01T17:07:17.625202Z [ERROR] ‘dependencies.dependency.version’ for com.zaxxer:HikariCP:jar is missing. @ line 152, column 21 A 2020-06-01T17:07:17.625210Z [ERROR] ‘dependencies.dependency.version’ for commons-io:commons-io:jar is missing. @ line 156, column 21 A 2020-06-01T17:07:17.625219Z [ERROR] ‘dependencies.dependency.version’ for org.apache.commons:commons-lang3:jar is missing. @ line 160, column 21 A 2020-06-01T17:07:17.625228Z [ERROR] ‘dependencies.dependency.version’ for javax.cache:cache-api:jar is missing. @ line 164, column 21 A 2020-06-01T17:07:17.625236Z [ERROR] ‘dependencies.dependency.version’ for org.ehcache:ehcache:jar is missing. @ line 168, column 21 A 2020-06-01T17:07:17.625247Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-jcache:jar is missing. @ line 172, column 21 A 2020-06-01T17:07:17.625257Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-core:jar is missing. @ line 181, column 21 A 2020-06-01T17:07:17.625266Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate.validator:hibernate-validator:jar is missing. @ line 185, column 21 A 2020-06-01T17:07:17.625309Z [ERROR] ‘dependencies.dependency.version’ for net.logstash.logback:logstash-logback-encoder:jar is missing. @ line 195, column 21 A 2020-06-01T17:07:17.625339Z [ERROR] ‘dependencies.dependency.version’ for org.postgresql:postgresql:jar is missing. @ line 199, column 21 A 2020-06-01T17:07:17.625349Z [ERROR] ‘dependencies.dependency.version’ for org.mapstruct:mapstruct:jar is missing. @ line 203, column 21 A 2020-06-01T17:07:17.625358Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-loader-tools:jar is missing. @ line 217, column 21 A 2020-06-01T17:07:17.625368Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 221, column 21 A 2020-06-01T17:07:17.625377Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-aop:jar is missing. @ line 225, column 21 A 2020-06-01T17:07:17.625386Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 229, column 21 A 2020-06-01T17:07:17.625394Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-logging:jar is missing. @ line 233, column 21 A 2020-06-01T17:07:17.625406Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-mail:jar is missing. @ line 237, column 21 A 2020-06-01T17:07:17.625415Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-security:jar is missing. @ line 241, column 21 A 2020-06-01T17:07:17.625424Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 245, column 21 A 2020-06-01T17:07:17.625432Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 249, column 21 A 2020-06-01T17:07:17.625441Z [ERROR] ‘dependencies.dependency.version’ for org.zalando:problem-spring-web:jar is missing. @ line 288, column 21 A 2020-06-01T17:07:17.625449Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-api:jar is missing. @ line 292, column 21 A 2020-06-01T17:07:17.625481Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-impl:jar is missing. @ line 296, column 21 A 2020-06-01T17:07:17.625495Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-jackson:jar is missing. @ line 301, column 21 A 2020-06-01T17:07:17.625504Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cloud-connectors:jar is missing. @ line 307, column 21 A 2020-06-01T17:07:17.625512Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.security:spring-security-data:jar is missing. @ line 311, column 21 A 2020-06-01T17:07:17.625521Z [ERROR] ‘dependencies.dependency.version’ for io.micrometer:micrometer-registry-prometheus:jar is missing. @ line 315, column 21 A 2020-06-01T17:07:17.625530Z [ERROR] ‘dependencies.dependency.version’ for io.dropwizard.metrics:metrics-core:jar is missing. @ line 319, column 21 A 2020-06-01T17:07:17.625538Z [ERROR] ‘dependencies.dependency.version’ for com.h2database:h2:jar is missing. @ line 953, column 29 A 2020-06-01T17:07:17.625546Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-undertow:jar is missing. @ line 944, column 29 A 2020-06-01T17:07:17.625555Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 948, column 29 A 2020-06-01T17:07:17.625576Z {“textPayload”:“”,“insertId”:“5ed535c500098ba866b83e79”,“resource”:{“type”:“gae_app”,“labels”:{“project_id”:“test-279013”,“zone”:“asia-northeast1-3”,“version_id”:“1”,“module_id”:“default”}},“timestamp”:“2020-06-01T17:07:17.625576Z”,“labels”:{“clone_id”:“00c61b117c2d487c12cf0fa5aaa7cf6d19ac60eafbd126… A 2020-06-01T17:07:17.625586Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:195) A 2020-06-01T17:07:17.625597Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126) A 2020-06-01T17:07:17.625606Z at org.springframework.boot.loader.thin.DependencyResolver.dependencies(DependencyResolver.java:207) A 2020-06-01T17:07:17.625614Z … 12 more A 2020-06-01T17:07:17.625626Z Caused by: hidden.org.apache.maven.model.building.ModelBuildingException: 42 problems were encountered while building the effective model for id.thong.test:test:0.0.1-SNAPSHOT A 2020-06-01T17:07:17.625640Z [FATAL] Non-resolvable parent POM for org.springframework.data:spring-data-releasetrain:Moore-SR5: Could not transfer artifact org.springframework.data.build:spring-data-build:pom:2.2.5.RELEASE from/to local (file:///root/.m2/repository): /workspace/repository/org/springframework/data/build/spring-data-build/2.2.5.RELEASE/spring-data-build-2.2.5.RELEASE.pom.part.lock (No such file or directory) @ org.springframework.data:spring-data-releasetrain:Moore-SR5, /workspace/repository/org/springframework/data/spring-data-releasetrain/Moore-SR5/spring-data-releasetrain-Moore-SR5.pom, line 10, column 10 A 2020-06-01T17:07:17.625649Z [ERROR] ‘dependencies.dependency.version’ for io.github.jhipster:jhipster-framework:jar is missing. @ line 106, column 21 A 2020-06-01T17:07:17.625657Z [ERROR] ‘dependencies.dependency.version’ for javax.annotation:javax.annotation-api:jar is missing. @ line 110, column 21 A 2020-06-01T17:07:17.625666Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cache:jar is missing. @ line 115, column 21 A 2020-06-01T17:07:17.625675Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar is missing. @ line 119, column 21 A 2020-06-01T17:07:17.625684Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:jar is missing. @ line 123, column 21 A 2020-06-01T17:07:17.625694Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hppc:jar is missing. @ line 127, column 21 A 2020-06-01T17:07:17.625703Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar is missing. @ line 131, column 21 A 2020-06-01T17:07:17.625711Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-afterburner:jar is missing. @ line 135, column 21 A 2020-06-01T17:07:17.625719Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-swagger2:jar is missing. @ line 144, column 21 A 2020-06-01T17:07:17.625732Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-bean-validators:jar is missing. @ line 148, column 21 A 2020-06-01T17:07:17.625743Z [ERROR] ‘dependencies.dependency.version’ for com.zaxxer:HikariCP:jar is missing. @ line 152, column 21 A 2020-06-01T17:07:17.625751Z [ERROR] ‘dependencies.dependency.version’ for commons-io:commons-io:jar is missing. @ line 156, column 21 A 2020-06-01T17:07:17.625759Z [ERROR] ‘dependencies.dependency.version’ for org.apache.commons:commons-lang3:jar is missing. @ line 160, column 21 A 2020-06-01T17:07:17.625768Z [ERROR] ‘dependencies.dependency.version’ for javax.cache:cache-api:jar is missing. @ line 164, column 21 A 2020-06-01T17:07:17.625794Z [ERROR] ‘dependencies.dependency.version’ for org.ehcache:ehcache:jar is missing. @ line 168, column 21 A 2020-06-01T17:07:17.625807Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-jcache:jar is missing. @ line 172, column 21 A 2020-06-01T17:07:17.625816Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-core:jar is missing. @ line 181, column 21 A 2020-06-01T17:07:17.625824Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate.validator:hibernate-validator:jar is missing. @ line 185, column 21 A 2020-06-01T17:07:17.625833Z [ERROR] ‘dependencies.dependency.version’ for net.logstash.logback:logstash-logback-encoder:jar is missing. @ line 195, column 21 A 2020-06-01T17:07:17.625842Z [ERROR] ‘dependencies.dependency.version’ for org.postgresql:postgresql:jar is missing. @ line 199, column 21 A 2020-06-01T17:07:17.625849Z [ERROR] ‘dependencies.dependency.version’ for org.mapstruct:mapstruct:jar is missing. @ line 203, column 21 A 2020-06-01T17:07:17.625858Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-loader-tools:jar is missing. @ line 217, column 21 A 2020-06-01T17:07:17.625873Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 221, column 21 A 2020-06-01T17:07:17.625882Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-aop:jar is missing. @ line 225, column 21 A 2020-06-01T17:07:17.625891Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 229, column 21 A 2020-06-01T17:07:17.625899Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-logging:jar is missing. @ line 233, column 21 A 2020-06-01T17:07:17.625909Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-mail:jar is missing. @ line 237, column 21 A 2020-06-01T17:07:17.625917Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-security:jar is missing. @ line 241, column 21 A 2020-06-01T17:07:17.625926Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 245, column 21 A 2020-06-01T17:07:17.625934Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 249, column 21 A 2020-06-01T17:07:17.625944Z [ERROR] ‘dependencies.dependency.version’ for org.zalando:problem-spring-web:jar is missing. @ line 288, column 21 A 2020-06-01T17:07:17.625952Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-api:jar is missing. @ line 292, column 21 A 2020-06-01T17:07:17.625960Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-impl:jar is missing. @ line 296, column 21 A 2020-06-01T17:07:17.625968Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-jackson:jar is missing. @ line 301, column 21 A 2020-06-01T17:07:17.625976Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cloud-connectors:jar is missing. @ line 307, column 21 A 2020-06-01T17:07:17.625985Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.security:spring-security-data:jar is missing. @ line 311, column 21 A 2020-06-01T17:07:17.625994Z [ERROR] ‘dependencies.dependency.version’ for io.micrometer:micrometer-registry-prometheus:jar is missing. @ line 315, column 21 A 2020-06-01T17:07:17.626006Z [ERROR] ‘dependencies.dependency.version’ for io.dropwizard.metrics:metrics-core:jar is missing. @ line 319, column 21 A 2020-06-01T17:07:17.626014Z [ERROR] ‘dependencies.dependency.version’ for com.h2database:h2:jar is missing. @ line 953, column 29 A 2020-06-01T17:07:17.626031Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-undertow:jar is missing. @ line 944, column 29 A 2020-06-01T17:07:17.626039Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 948, column 29 A 2020-06-01T17:07:17.626047Z {“textPayload”:”“,“insertId”:“5ed535c500098d7f896290fd”,“resource”:{“type”:“gae_app”,“labels”:{“version_id”:“1”,“module_id”:“default”,“zone”:“asia-northeast1-3”,“project_id”:“test-279013”}},“timestamp”:“2020-06-01T17:07:17.626047Z”,“labels”:{“clone_id”:“00c61b117c2d487c12cf0fa5aaa7cf6d19ac60eafbd126… A 2020-06-01T17:07:17.626057Z at hidden.org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:197) A 2020-06-01T17:07:17.626065Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:479) A 2020-06-01T17:07:17.626073Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) A 2020-06-01T17:07:17.626081Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:411) A 2020-06-01T17:07:17.626089Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:161) A 2020-06-01T17:07:17.626099Z … 14 more I 2020-06-01T17:07:19.379337Z GET 500 0 B 3.3 s Chrome 81 /favicon.ico GET 500 0 B 3.3 s Chrome 81 5ed535c700ff05c9c9b82bdafd0001627e746573742d323739303133000131000100 A 2020-06-01T17:07:22.528694Z Exception in thread “main” java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:140) at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107) Caused by: java.lang.IllegalStateException: Cannot build model at org.springframework.boot.loader.thin.DependencyResolver.dependencies(DependencyResolver.java:234) at org.springframework.boot.loader.thin.PathResolver.extract(PathResolver.java:220) at org.springframework.boot.loader.thin.PathResolver.resolve(PathResolver.java:101) at org.springframework.boot.loader.thin.ThinJarLauncher.getClassPathArchives(ThinJarLauncher.java:357) at org.springframework.boot.loader.Launcher.launch(Launcher.java:49) at org.springframework.boot.loader.thin.ThinJarLauncher.launch(ThinJarLauncher.java:193) at org.springframework.boot.loader.thin.ThinJarLauncher.main(ThinJarLauncher.java:140) … 6 more Caused by: hidden.org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: A 2020-06-01T17:07:22.528727Z [FATAL] Non-resolvable parent POM for org.springframework.data:spring-data-releasetrain:Moore-SR5: Could not transfer artifact org.springframework.data.build:spring-data-build:pom:2.2.5.RELEASE from/to local (file:///root/.m2/repository): /workspace/repository/org/springframework/data/build/spring-data-build/2.2.5.RELEASE/spring-data-build-2.2.5.RELEASE.pom.part.lock (No such file or directory) @ org.springframework.data:spring-data-releasetrain:Moore-SR5, /workspace/repository/org/springframework/data/spring-data-releasetrain/Moore-SR5/spring-data-releasetrain-Moore-SR5.pom, line 10, column 10 A 2020-06-01T17:07:22.528739Z [ERROR] ‘dependencies.dependency.version’ for io.github.jhipster:jhipster-framework:jar is missing. @ line 106, column 21 A 2020-06-01T17:07:22.528748Z [ERROR] ‘dependencies.dependency.version’ for javax.annotation:javax.annotation-api:jar is missing. @ line 110, column 21 A 2020-06-01T17:07:22.528759Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cache:jar is missing. @ line 115, column 21 A 2020-06-01T17:07:22.528768Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar is missing. @ line 119, column 21 A 2020-06-01T17:07:22.528778Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:jar is missing. @ line 123, column 21 A 2020-06-01T17:07:22.528787Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hppc:jar is missing. @ line 127, column 21 A 2020-06-01T17:07:22.528795Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar is missing. @ line 131, column 21 A 2020-06-01T17:07:22.528805Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-afterburner:jar is missing. @ line 135, column 21 A 2020-06-01T17:07:22.528814Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-swagger2:jar is missing. @ line 144, column 21 A 2020-06-01T17:07:22.528823Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-bean-validators:jar is missing. @ line 148, column 21 A 2020-06-01T17:07:22.528832Z [ERROR] ‘dependencies.dependency.version’ for com.zaxxer:HikariCP:jar is missing. @ line 152, column 21 A 2020-06-01T17:07:22.528841Z [ERROR] ‘dependencies.dependency.version’ for commons-io:commons-io:jar is missing. @ line 156, column 21 A 2020-06-01T17:07:22.528853Z [ERROR] ‘dependencies.dependency.version’ for org.apache.commons:commons-lang3:jar is missing. @ line 160, column 21 A 2020-06-01T17:07:22.528935Z [ERROR] ‘dependencies.dependency.version’ for javax.cache:cache-api:jar is missing. @ line 164, column 21 A 2020-06-01T17:07:22.528969Z [ERROR] ‘dependencies.dependency.version’ for org.ehcache:ehcache:jar is missing. @ line 168, column 21 A 2020-06-01T17:07:22.528981Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-jcache:jar is missing. @ line 172, column 21 A 2020-06-01T17:07:22.528990Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-core:jar is missing. @ line 181, column 21 A 2020-06-01T17:07:22.528999Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate.validator:hibernate-validator:jar is missing. @ line 185, column 21 A 2020-06-01T17:07:22.529008Z [ERROR] ‘dependencies.dependency.version’ for net.logstash.logback:logstash-logback-encoder:jar is missing. @ line 195, column 21 A 2020-06-01T17:07:22.529016Z [ERROR] ‘dependencies.dependency.version’ for org.postgresql:postgresql:jar is missing. @ line 199, column 21 A 2020-06-01T17:07:22.529025Z [ERROR] ‘dependencies.dependency.version’ for org.mapstruct:mapstruct:jar is missing. @ line 203, column 21 A 2020-06-01T17:07:22.529034Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-loader-tools:jar is missing. @ line 217, column 21 A 2020-06-01T17:07:22.529043Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 221, column 21 A 2020-06-01T17:07:22.529053Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-aop:jar is missing. @ line 225, column 21 A 2020-06-01T17:07:22.529062Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 229, column 21 A 2020-06-01T17:07:22.529072Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-logging:jar is missing. @ line 233, column 21 A 2020-06-01T17:07:22.529081Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-mail:jar is missing. @ line 237, column 21 A 2020-06-01T17:07:22.529090Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-security:jar is missing. @ line 241, column 21 A 2020-06-01T17:07:22.529099Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 245, column 21 A 2020-06-01T17:07:22.529108Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 249, column 21 A 2020-06-01T17:07:22.529116Z [ERROR] ‘dependencies.dependency.version’ for org.zalando:problem-spring-web:jar is missing. @ line 288, column 21 A 2020-06-01T17:07:22.529126Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-api:jar is missing. @ line 292, column 21 A 2020-06-01T17:07:22.529134Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-impl:jar is missing. @ line 296, column 21 A 2020-06-01T17:07:22.529143Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-jackson:jar is missing. @ line 301, column 21 A 2020-06-01T17:07:22.529164Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cloud-connectors:jar is missing. @ line 307, column 21 A 2020-06-01T17:07:22.529175Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.security:spring-security-data:jar is missing. @ line 311, column 21 A 2020-06-01T17:07:22.529185Z [ERROR] ‘dependencies.dependency.version’ for io.micrometer:micrometer-registry-prometheus:jar is missing. @ line 315, column 21 A 2020-06-01T17:07:22.529193Z [ERROR] ‘dependencies.dependency.version’ for io.dropwizard.metrics:metrics-core:jar is missing. @ line 319, column 21 A 2020-06-01T17:07:22.529202Z [ERROR] ‘dependencies.dependency.version’ for com.h2database:h2:jar is missing. @ line 953, column 29 A 2020-06-01T17:07:22.529211Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-undertow:jar is missing. @ line 944, column 29 A 2020-06-01T17:07:22.529219Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 948, column 29 A 2020-06-01T17:07:22.529253Z {“textPayload”:””,“insertId”:“5ed535ca0008136585207292”,“resource”:{“type”:“gae_app”,“labels”:{“module_id”:“default”,“project_id”:“test-279013”,“zone”:“asia-northeast1-3”,“version_id”:“1”}},“timestamp”:“2020-06-01T17:07:22.529253Z”,“labels”:{“clone_id”:“00c61b117c13bc7dda0c07e4df032e0d0a56af42f49781… A 2020-06-01T17:07:22.529264Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:195) A 2020-06-01T17:07:22.529273Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126) A 2020-06-01T17:07:22.529286Z at org.springframework.boot.loader.thin.DependencyResolver.dependencies(DependencyResolver.java:207) A 2020-06-01T17:07:22.529294Z … 12 more A 2020-06-01T17:07:22.529306Z Caused by: hidden.org.apache.maven.model.building.ModelBuildingException: 42 problems were encountered while building the effective model for id.thong.test:test:0.0.1-SNAPSHOT A 2020-06-01T17:07:22.529321Z [FATAL] Non-resolvable parent POM for org.springframework.data:spring-data-releasetrain:Moore-SR5: Could not transfer artifact org.springframework.data.build:spring-data-build:pom:2.2.5.RELEASE from/to local (file:///root/.m2/repository): /workspace/repository/org/springframework/data/build/spring-data-build/2.2.5.RELEASE/spring-data-build-2.2.5.RELEASE.pom.part.lock (No such file or directory) @ org.springframework.data:spring-data-releasetrain:Moore-SR5, /workspace/repository/org/springframework/data/spring-data-releasetrain/Moore-SR5/spring-data-releasetrain-Moore-SR5.pom, line 10, column 10 A 2020-06-01T17:07:22.529330Z [ERROR] ‘dependencies.dependency.version’ for io.github.jhipster:jhipster-framework:jar is missing. @ line 106, column 21 A 2020-06-01T17:07:22.529339Z [ERROR] ‘dependencies.dependency.version’ for javax.annotation:javax.annotation-api:jar is missing. @ line 110, column 21 A 2020-06-01T17:07:22.529350Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cache:jar is missing. @ line 115, column 21 A 2020-06-01T17:07:22.529359Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar is missing. @ line 119, column 21 A 2020-06-01T17:07:22.529372Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:jar is missing. @ line 123, column 21 A 2020-06-01T17:07:22.529380Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-hppc:jar is missing. @ line 127, column 21 A 2020-06-01T17:07:22.529389Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar is missing. @ line 131, column 21 A 2020-06-01T17:07:22.529398Z [ERROR] ‘dependencies.dependency.version’ for com.fasterxml.jackson.module:jackson-module-afterburner:jar is missing. @ line 135, column 21 A 2020-06-01T17:07:22.529407Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-swagger2:jar is missing. @ line 144, column 21 A 2020-06-01T17:07:22.529416Z [ERROR] ‘dependencies.dependency.version’ for io.springfox:springfox-bean-validators:jar is missing. @ line 148, column 21 A 2020-06-01T17:07:22.529424Z [ERROR] ‘dependencies.dependency.version’ for com.zaxxer:HikariCP:jar is missing. @ line 152, column 21 A 2020-06-01T17:07:22.529433Z [ERROR] ‘dependencies.dependency.version’ for commons-io:commons-io:jar is missing. @ line 156, column 21 A 2020-06-01T17:07:22.529441Z [ERROR] ‘dependencies.dependency.version’ for org.apache.commons:commons-lang3:jar is missing. @ line 160, column 21 A 2020-06-01T17:07:22.529450Z [ERROR] ‘dependencies.dependency.version’ for javax.cache:cache-api:jar is missing. @ line 164, column 21 A 2020-06-01T17:07:22.529458Z [ERROR] ‘dependencies.dependency.version’ for org.ehcache:ehcache:jar is missing. @ line 168, column 21 A 2020-06-01T17:07:22.529467Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-jcache:jar is missing. @ line 172, column 21 A 2020-06-01T17:07:22.529475Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate:hibernate-core:jar is missing. @ line 181, column 21 A 2020-06-01T17:07:22.529484Z [ERROR] ‘dependencies.dependency.version’ for org.hibernate.validator:hibernate-validator:jar is missing. @ line 185, column 21 A 2020-06-01T17:07:22.529497Z [ERROR] ‘dependencies.dependency.version’ for net.logstash.logback:logstash-logback-encoder:jar is missing. @ line 195, column 21 A 2020-06-01T17:07:22.529518Z [ERROR] ‘dependencies.dependency.version’ for org.postgresql:postgresql:jar is missing. @ line 199, column 21 A 2020-06-01T17:07:22.529528Z [ERROR] ‘dependencies.dependency.version’ for org.mapstruct:mapstruct:jar is missing. @ line 203, column 21 A 2020-06-01T17:07:22.529537Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-loader-tools:jar is missing. @ line 217, column 21 A 2020-06-01T17:07:22.529545Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-actuator:jar is missing. @ line 221, column 21 A 2020-06-01T17:07:22.529554Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-aop:jar is missing. @ line 225, column 21 A 2020-06-01T17:07:22.529563Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-data-jpa:jar is missing. @ line 229, column 21 A 2020-06-01T17:07:22.529571Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-logging:jar is missing. @ line 233, column 21 A 2020-06-01T17:07:22.529580Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-mail:jar is missing. @ line 237, column 21 A 2020-06-01T17:07:22.529593Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-security:jar is missing. @ line 241, column 21 A 2020-06-01T17:07:22.529602Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-thymeleaf:jar is missing. @ line 245, column 21 A 2020-06-01T17:07:22.529612Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 249, column 21 A 2020-06-01T17:07:22.529620Z [ERROR] ‘dependencies.dependency.version’ for org.zalando:problem-spring-web:jar is missing. @ line 288, column 21 A 2020-06-01T17:07:22.529629Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-api:jar is missing. @ line 292, column 21 A 2020-06-01T17:07:22.529637Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-impl:jar is missing. @ line 296, column 21 A 2020-06-01T17:07:22.529645Z [ERROR] ‘dependencies.dependency.version’ for io.jsonwebtoken:jjwt-jackson:jar is missing. @ line 301, column 21 A 2020-06-01T17:07:22.529654Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-cloud-connectors:jar is missing. @ line 307, column 21 A 2020-06-01T17:07:22.529663Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.security:spring-security-data:jar is missing. @ line 311, column 21 A 2020-06-01T17:07:22.529677Z [ERROR] ‘dependencies.dependency.version’ for io.micrometer:micrometer-registry-prometheus:jar is missing. @ line 315, column 21 A 2020-06-01T17:07:22.529685Z [ERROR] ‘dependencies.dependency.version’ for io.dropwizard.metrics:metrics-core:jar is missing. @ line 319, column 21 A 2020-06-01T17:07:22.529694Z [ERROR] ‘dependencies.dependency.version’ for com.h2database:h2:jar is missing. @ line 953, column 29 A 2020-06-01T17:07:22.529703Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-starter-undertow:jar is missing. @ line 944, column 29 A 2020-06-01T17:07:22.529712Z [ERROR] ‘dependencies.dependency.version’ for org.springframework.boot:spring-boot-devtools:jar is missing. @ line 948, column 29 A 2020-06-01T17:07:22.529719Z {“textPayload”:”",“insertId”:“5ed535ca000815372ea09f5f”,“resource”:{“type”:“gae_app”,“labels”:{“module_id”:“default”,“project_id”:“test-279013”,“version_id”:“1”,“zone”:“asia-northeast1-3”}},“timestamp”:“2020-06-01T17:07:22.529719Z”,“labels”:{“clone_id”:"00c61b117c13bc7dda0c07e4df032e0d0a56af42f49781… A 2020-06-01T17:07:22.529741Z at hidden.org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:197) A 2020-06-01T17:07:22.529752Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:479) A 2020-06-01T17:07:22.529760Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) A 2020-06-01T17:07:22.529773Z at hidden.org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:411) A 2020-06-01T17:07:22.529782Z at hidden.org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:161) A 2020-06-01T17:07:22.529789Z … 14 more
Motivation for or Use Case
I cannot deploy my JHipster app into Google App Engine. I have another JHipster app that already able to be deploy to AWS ElasticBeanstalk, now I want to migrate that app to Google App Engine, but got stuck in this issue for days. I tried to start new and the same issue still occurs.
Reproduce the error
I created new project using jhipster
Following this https://github.com/jhipster/generator-jhipster/issues/10533 , I changed java version in pom.xml into 11 and port in application-prod.xml into 8081
I tried to build just to make sure it works ./mvnw
I used generator jhipster gae
Choose default Service Name, F2 Class, Cloud SQL instance Y.
And then tried to deploy to App Engine ./mvnw package appengine:deploy -DskipTests -Pgae,prod,prod-gae (SUCCESS)
Browser the app “Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds.”
Stack trace from GCP Logs Viewer as mentioned above.
Related issues
https://github.com/jhipster/generator-jhipster/issues/10533 https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/399
Suggest a Fix
I have no idea what’s wrong.
JHipster Version(s)
6.8.0
JHipster configuration
jhipster info
jhipster info INFO! Using JHipster version installed locally in current project’s node_modules INFO! Executing jhipster:info INFO! Options: from-cli: true Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
test@0.0.1-SNAPSHOT /Users/rudythong/Documents/Programming/test
└── generator-jhipster@6.8.0
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
"generator-jhipster": {
"promptValues": {
"packageName": "id.thong.test"
},
"jhipsterVersion": "6.8.0",
"applicationType": "monolith",
"baseName": "test",
"packageName": "id.thong.test",
"packageFolder": "id/thong/test",
"serverPort": "8080",
"authenticationType": "jwt",
"cacheProvider": "ehcache",
"enableHibernateCache": true,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "postgresql",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": false,
"buildTool": "maven",
"enableSwaggerCodegen": false,
"jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl",
"embeddableLaunchScript": false,
"useSass": true,
"clientPackageManager": "npm",
"clientFramework": "angularX",
"clientTheme": "none",
"clientThemeVariant": "",
"creationTimestamp": 1591028894156,
"testFrameworks": [],
"jhiPrefix": "jhi",
"entitySuffix": "",
"dtoSuffix": "DTO",
"otherModules": [],
"enableTranslation": false,
"blueprints": [],
"gcpProjectId": "test-279013",
"gcpCloudSqlInstanceName": "test-279013:asia-northeast1:test",
"gcpCloudSqlUserName": "root",
"gcpCloudSqlDatabaseName": "test",
"gaeServiceName": "default",
"gaeLocation": "asia-northeast1",
"gaeInstanceClass": "F2",
"gaeScalingType": "automatic",
"gaeMinInstances": "0",
"gaeMaxInstances": "0",
"gaeCloudSQLInstanceNeeded": "Y"
}
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
Environment and Tools
openjdk version “11.0.7” 2020-04-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
git version 2.20.1 (Apple Git-117)
node: v12.16.3
npm: 6.14.4
yeoman: 3.1.1
Docker version 19.03.8, build afacb8b
docker-compose version 1.25.4, build 8d51620a
INFO! Congratulations, JHipster execution is complete!
.yo-rc.json
{ “generator-jhipster”: { “promptValues”: { “packageName”: “id.thong.test” }, “jhipsterVersion”: “6.8.0”, “applicationType”: “monolith”, “baseName”: “test”, “packageName”: “id.thong.test”, “packageFolder”: “id/thong/test”, “serverPort”: “8080”, “authenticationType”: “jwt”, “cacheProvider”: “ehcache”, “enableHibernateCache”: true, “websocket”: false, “databaseType”: “sql”, “devDatabaseType”: “h2Disk”, “prodDatabaseType”: “postgresql”, “searchEngine”: false, “messageBroker”: false, “serviceDiscoveryType”: false, “buildTool”: “maven”, “enableSwaggerCodegen”: false, “jwtSecretKey”: “ODI2YThjN2QyOWQ4YTRiN2QzMTNlMTJiMjcxNDgzMDFiY2MzMTFiNjI3ZGIyZDIxODM2ZmE0ZGE2YTNhNjdlNDViZDA0YmExMGVkODJhNGI0YWFiN2ZhNWQ0ZTVlZmZhYjQ1MjcxODdkNTg2OGRmZWRiOGE0N2RlNDhjMDE5YWE=”, “embeddableLaunchScript”: false, “useSass”: true, “clientPackageManager”: “npm”, “clientFramework”: “angularX”, “clientTheme”: “none”, “clientThemeVariant”: “”, “creationTimestamp”: 1591028894156, “testFrameworks”: [], “jhiPrefix”: “jhi”, “entitySuffix”: “”, “dtoSuffix”: “DTO”, “otherModules”: [], “enableTranslation”: false, “blueprints”: [], “gcpProjectId”: “test-279013”, “gcpCloudSqlInstanceName”: “test-279013:asia-northeast1:test”, “gcpCloudSqlUserName”: “root”, “gcpCloudSqlDatabaseName”: “test”, “gaeServiceName”: “default”, “gaeLocation”: “asia-northeast1”, “gaeInstanceClass”: “F2”, “gaeScalingType”: “automatic”, “gaeMinInstances”: “0”, “gaeMaxInstances”: “0”, “gaeCloudSQLInstanceNeeded”: “Y” } }
Entity configuration(s) entityName.json files generated in the .jhipster directory
No JDL
Browsers and Operating System
Google Chrome Version 81.0.4044.113
- Checking this box is mandatory (this is just to show you read everything)
Contributed as backer.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 15 (9 by maintainers)
@GuillaumeDmns : By “this line” I suppose you mean my workaround;
gcloud config set gcloudignore/enabled false? I don’t think so. Because the fix to Cloud SDK, to my understanding only removes a line from the auto-generated.gcloudignore. If you have already not generating the.gcloudignorewhether or not that line is present doesn’t matter.It worked for me, thanks ! Hope it will be fixed soon
Hi @SudharakaP ,
From generator
jhipster gae, it was stated that 0 for unlimited.How many instances max (0 for unlimited) ? (0)Done
rm -rf target/./mvnw package appengine:deploy -DskipTests -Pgae,prod,prod-gaeResult: BUILD SUCCESS Finally, the web page shown!
Thanks a lot @SudharakaP .
@rudy-thong : Thanks for the info. This is the same issue I’ve seen before. I’ll investigate more on this as to why the
.gcloudignorefile is being generated.For the moment you can fix this issue by doing the following.
Run,
gcloud config set gcloudignore/enabled falseto disable the.gcloudignorefile creation.Change
max_instancesto 1 or more; as it doesn’t makes sense to havemax_instancesas 0. I’ll fix this issue as well such that the generator will not allow 0 for max_instances.Rebuild and Redeploy (you can use
./mvnw package appengine:deploy -DskipTests -Pgae,prod,prod-gae; just delete the target folder before that just to make sure).Hi @SudharakaP ,
sorry I was sleeping. Thank you for quick response. Here’s my target/appengine-staging folder:
Inside repository/ folder, there are folders leading to the dependencies: antlr, ch, com, commons-codec, commons-io, io, jakarta, javax, net, ognl, org.
Here’s my .gcloudignore:
Here’s my app.yaml file