Skip to content

Instantly share code, notes, and snippets.

@dancancro
Created November 20, 2018 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dancancro/f5024f4710dc5d5047824b408c476dbb to your computer and use it in GitHub Desktop.
Save dancancro/f5024f4710dc5d5047824b408c476dbb to your computer and use it in GitHub Desktop.
[14:54:15] (angular6) gba_to6
// ♥ ./mvnw
[INFO] Scanning for projects...
[INFO]
[INFO] -------< org.exampleapps.greatbig:great-big-example-application >-------
[INFO] Building Great Big Example Application 0.0.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:2.0.4.RELEASE:run (default-cli) > test-compile @ great-big-example-application >>>
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (default-resources) @ great-big-example-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 51 resources
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ great-big-example-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 51 resources
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ great-big-example-application ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (docker-resources) @ great-big-example-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (pre-unit-tests) @ great-big-example-application ---
[INFO] argLine set to -javaagent:/Users/Dan/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/Users/Dan/work/a/gba_to6/target/test-results/coverage/jacoco/jacoco.exec -Djava.security.egd=file:/dev/./urandom -Xmx256m
[INFO]
[INFO] --- kotlin-maven-plugin:1.1.4-2:compile (compile) @ great-big-example-application ---
[INFO] Kotlin version 1.1.4-2 (JRE 1.8.0_131-b11)
[INFO] Compiling Kotlin sources from [/Users/Dan/work/a/gba_to6/src/main/kotlin, /Users/Dan/work/a/gba_to6/src/main/java, /Users/Dan/work/a/gba_to6/src/main/resources]
[INFO] Module name is great-big-example-application
[INFO] Applied plugin: 'spring'
[WARNING] Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/Users/Dan/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.1.4-2/kotlin-stdlib-jre8-1.1.4-2.jar (version 1.1)
/Users/Dan/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.2.51/kotlin-stdlib-1.2.51.jar (version 1.2)
/Users/Dan/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.2.51/kotlin-stdlib-common-1.2.51.jar (version 1.2)
/Users/Dan/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.51/kotlin-stdlib-jre7-1.2.51.jar (version 1.2)
/Users/Dan/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.4-2/kotlin-reflect-1.1.4-2.jar (version 1.1)
[WARNING] Consider providing an explicit dependency on kotlin-reflect 1.2 to prevent strange errors
[WARNING] Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
[WARNING] /Users/Dan/work/a/gba_to6/src/main/kotlin/org/exampleapps/greatbig/jwt/ApiKeySecured.kt: (6, 1) This annotation is deprecated in Kotlin. Use '@kotlin.annotation.MustBeDocumented' instead
[WARNING] /Users/Dan/work/a/gba_to6/src/main/kotlin/org/exampleapps/greatbig/repository/specification/ArticlesSpecifications.kt: (11, 38) Parameter 'query' is never used, could be renamed to _
[WARNING] /Users/Dan/work/a/gba_to6/src/main/kotlin/org/exampleapps/greatbig/web/rest/ArticleHandler.kt: (62, 17) 'constructor PageRequest(Int, Int, Sort.Direction!, vararg String!)' is deprecated. Deprecated in Java
[WARNING] /Users/Dan/work/a/gba_to6/src/main/kotlin/org/exampleapps/greatbig/web/rest/ArticleHandler.kt: (88, 17) 'constructor PageRequest(Int, Int)' is deprecated. Deprecated in Java
[WARNING] /Users/Dan/work/a/gba_to6/src/main/kotlin/org/exampleapps/greatbig/web/rest/ArticleHandler.kt: (256, 17) Condition 'comment == null' is always 'false'
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (java-compile) @ great-big-example-application ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 128 source files to /Users/Dan/work/a/gba_to6/target/classes
[INFO] /Users/Dan/work/a/gba_to6/src/main/java/org/exampleapps/greatbig/domain/User.java: Some input files use or override a deprecated API.
[INFO] /Users/Dan/work/a/gba_to6/src/main/java/org/exampleapps/greatbig/domain/User.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ great-big-example-application ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- kotlin-maven-plugin:1.1.4-2:test-compile (test-compile) @ great-big-example-application ---
[INFO] Kotlin version 1.1.4-2 (JRE 1.8.0_131-b11)
[WARNING] No sources found skipping Kotlin compile
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (java-test-compile) @ great-big-example-application ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:2.0.4.RELEASE:run (default-cli) < test-compile @ great-big-example-application <<<
[INFO]
[INFO]
[INFO] --- spring-boot-maven-plugin:2.0.4.RELEASE:run (default-cli) @ great-big-example-application ---
[INFO] Attaching agents: []
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
The Class-Path manifest attribute in /Users/Dan/.m2/repository/org/liquibase/liquibase-core/3.5.5/liquibase-core-3.5.5.jar referenced one or more files that do not exist: file:/Users/Dan/.m2/repository/org/liquibase/liquibase-core/3.5.5/lib/snakeyaml-1.13.jar
██╗ ██╗ ██╗ ████████╗ ███████╗ ██████╗ ████████╗ ████████╗ ███████╗
██║ ██║ ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
██║ ████████║ ██║ ███████╔╝ ╚█████╗ ██║ ██████╗ ███████╔╝
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
:: JHipster 🤓 :: Running Spring Boot 2.0.4.RELEASE ::
:: https://www.jhipster.tech ::
2018-11-20 14:55:49.864 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.AsyncConfiguration : Creating Async Task Executor
2018-11-20 14:55:51.073 DEBUG 59157 --- [ restartedMain] o.e.g.config.MetricsConfiguration : Registering JVM gauges
2018-11-20 14:55:51.167 DEBUG 59157 --- [ restartedMain] o.e.g.config.MetricsConfiguration : Monitoring the datasource
2018-11-20 14:55:51.169 DEBUG 59157 --- [ restartedMain] o.e.g.config.MetricsConfiguration : Initializing Metrics JMX reporting
2018-11-20 14:55:53.066 DEBUG 59157 --- [ restartedMain] c.ehcache.core.Ehcache-usersByLogin : Initialize successful.
2018-11-20 14:55:53.116 DEBUG 59157 --- [ restartedMain] c.ehcache.core.Ehcache-usersByEmail : Initialize successful.
2018-11-20 14:55:53.122 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.User : Initialize successful.
2018-11-20 14:55:53.129 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.User.authorities : Initialize successful.
2018-11-20 14:55:53.139 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Authority : Initialize successful.
2018-11-20 14:55:53.149 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Hero : Initialize successful.
2018-11-20 14:55:53.154 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Crisis : Initialize successful.
2018-11-20 14:55:53.164 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Claim : Initialize successful.
2018-11-20 14:55:53.175 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Contact : Initialize successful.
2018-11-20 14:55:53.187 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Note : Initialize successful.
2018-11-20 14:55:53.194 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Rebuttal : Initialize successful.
2018-11-20 14:55:53.206 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.ClaimRebuttal : Initialize successful.
2018-11-20 14:55:53.210 DEBUG 59157 --- [ restartedMain] c.e.c.E.exampleapps.greatbig.domain.Tag : Initialize successful.
2018-11-20 14:55:53.216 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Tag.articles : Initialize successful.
2018-11-20 14:55:53.224 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Message : Initialize successful.
2018-11-20 14:55:53.233 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.articles : Initialize successful.
2018-11-20 14:55:53.238 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.comments : Initialize successful.
2018-11-20 14:55:53.244 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Author : Initialize successful.
2018-11-20 14:55:53.250 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.followers : Initialize successful.
2018-11-20 14:55:53.258 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.followees : Initialize successful.
2018-11-20 14:55:53.267 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.favorites : Initialize successful.
2018-11-20 14:55:53.272 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Article : Initialize successful.
2018-11-20 14:55:53.276 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Article.tags : Initialize successful.
2018-11-20 14:55:53.280 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Article.favoriters : Initialize successful.
2018-11-20 14:55:53.284 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Article.comments : Initialize successful.
2018-11-20 14:55:53.292 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Comment : Initialize successful.
2018-11-20 14:55:53.299 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Talk : Initialize successful.
2018-11-20 14:55:53.532 DEBUG 59157 --- [ restartedMain] o.e.g.config.LiquibaseConfiguration : Configuring Liquibase
2018-11-20 14:55:53.930 WARN 59157 --- [tion-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Starting Liquibase asynchronously, your database might not be ready at startup!
2018-11-20 14:55:56.682 DEBUG 59157 --- [tion-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Liquibase has updated your database in 2749 ms
2018-11-20 14:56:08.299 INFO 59157 --- [ restartedMain] io.searchbox.client.AbstractJestClient : Setting server pool to a list of 1 servers: [http://localhost:47704]
2018-11-20 14:56:08.305 INFO 59157 --- [ restartedMain] io.searchbox.client.JestClientFactory : Using multi thread/connection supporting pooling connection manager
2018-11-20 14:56:08.476 INFO 59157 --- [ restartedMain] io.searchbox.client.JestClientFactory : Using default GSON instance
2018-11-20 14:56:08.477 INFO 59157 --- [ restartedMain] io.searchbox.client.JestClientFactory : Node Discovery disabled...
2018-11-20 14:56:08.478 INFO 59157 --- [ restartedMain] io.searchbox.client.JestClientFactory : Idle connection reaping disabled...
2018-11-20 14:56:09.059 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Registering CORS filter
2018-11-20 14:56:09.228 INFO 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Web application configuration, using profiles: dev
2018-11-20 14:56:09.229 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Initializing Metrics registries
2018-11-20 14:56:09.233 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Registering Metrics Filter
2018-11-20 14:56:09.234 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Registering Metrics Servlet
2018-11-20 14:56:09.238 DEBUG 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Initialize H2 console
2018-11-20 14:56:09.241 INFO 59157 --- [ restartedMain] o.e.greatbig.config.WebConfigurer : Web application fully configured
2018-11-20 14:56:10.637 DEBUG 59157 --- [ restartedMain] io.searchbox.client.http.JestHttpClient : HEAD method created based on client request
2018-11-20 14:56:10.638 DEBUG 59157 --- [ restartedMain] io.searchbox.client.http.JestHttpClient : Request method=HEAD url=http://localhost:47704/user
2018-11-20 14:56:10.937 DEBUG 59157 --- [ restartedMain] io.searchbox.action.AbstractAction : Response is failed. errorMessage is 404 Not Found
2018-11-20 14:56:10.938 DEBUG 59157 --- [ restartedMain] c.g.v.s.jest.mapper.DefaultErrorMapper : Cannot execute jest action , response code : 404 , error : 404 Not Found , message : null
2018-11-20 14:56:10.975 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Message : Close successful.
2018-11-20 14:56:10.976 DEBUG 59157 --- [ restartedMain] c.e.c.E.exampleapps.greatbig.domain.Tag : Close successful.
2018-11-20 14:56:10.977 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Hero : Close successful.
2018-11-20 14:56:10.978 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Comment : Close successful.
2018-11-20 14:56:10.979 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Claim : Close successful.
2018-11-20 14:56:10.980 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Article : Close successful.
2018-11-20 14:56:10.981 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.User : Close successful.
2018-11-20 14:56:10.982 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.ClaimRebuttal : Close successful.
2018-11-20 14:56:10.984 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Contact : Close successful.
2018-11-20 14:56:10.985 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Talk : Close successful.
2018-11-20 14:56:10.987 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Authority : Close successful.
2018-11-20 14:56:10.989 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Rebuttal : Close successful.
2018-11-20 14:56:10.993 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Crisis : Close successful.
2018-11-20 14:56:10.995 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Note : Close successful.
2018-11-20 14:56:10.999 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.User.authorities : Close successful.
2018-11-20 14:56:10.999 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.followees : Close successful.
2018-11-20 14:56:11.000 DEBUG 59157 --- [ restartedMain] c.ehcache.core.Ehcache-usersByEmail : Close successful.
2018-11-20 14:56:11.000 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Tag.articles : Close successful.
2018-11-20 14:56:11.001 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Author : Close successful.
2018-11-20 14:56:11.001 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.comments : Close successful.
2018-11-20 14:56:11.002 DEBUG 59157 --- [ restartedMain] c.ehcache.core.Ehcache-usersByLogin : Close successful.
2018-11-20 14:56:11.004 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.followers : Close successful.
2018-11-20 14:56:11.005 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Article.comments : Close successful.
2018-11-20 14:56:11.005 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.favorites : Close successful.
2018-11-20 14:56:11.006 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Author.articles : Close successful.
2018-11-20 14:56:11.006 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.greatbig.domain.Article.tags : Close successful.
2018-11-20 14:56:11.007 DEBUG 59157 --- [ restartedMain] c.e.c.E.e.g.domain.Article.favoriters : Close successful.
ERROR SpringApplication Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiKeySecuredAspect' defined in file [/Users/Dan/work/a/gba_to6/target/classes/org/exampleapps/greatbig/jwt/ApiKeySecuredAspect.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/Users/Dan/work/a/gba_to6/target/classes/org/exampleapps/greatbig/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: io.searchbox.indices.CreateIndex$Builder.payload(Ljava/util/Map;)Lio/searchbox/indices/CreateIndex$Builder;
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:732)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1267)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1124)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:398)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:330)
at org.exampleapps.greatbig.GreatBigExampleApplicationApp.main(GreatBigExampleApplicationApp.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/Users/Dan/work/a/gba_to6/target/classes/org/exampleapps/greatbig/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: io.searchbox.indices.CreateIndex$Builder.payload(Ljava/util/Map;)Lio/searchbox/indices/CreateIndex$Builder;
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:732)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1267)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1124)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:818)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:724)
... 22 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: io.searchbox.indices.CreateIndex$Builder.payload(Ljava/util/Map;)Lio/searchbox/indices/CreateIndex$Builder;
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1699)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:573)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:818)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:724)
... 36 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: io.searchbox.indices.CreateIndex$Builder.payload(Ljava/util/Map;)Lio/searchbox/indices/CreateIndex$Builder;
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:182)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.lambda$getTargetRepositoryViaReflection$3(RepositoryFactorySupport.java:500)
at java.util.Optional.map(Optional.java:215)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:500)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:485)
at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactory.getTargetRepository(ElasticsearchRepositoryFactory.java:73)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:298)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$3(RepositoryFactoryBeanSupport.java:286)
at org.springframework.data.util.Lazy.getNullable(Lazy.java:141)
at org.springframework.data.util.Lazy.get(Lazy.java:63)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:289)
at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.afterPropertiesSet(ElasticsearchRepositoryFactoryBean.java:67)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1758)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1695)
... 47 more
Caused by: java.lang.NoSuchMethodError: io.searchbox.indices.CreateIndex$Builder.payload(Ljava/util/Map;)Lio/searchbox/indices/CreateIndex$Builder;
at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:193)
at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexWithSettings(JestElasticsearchTemplate.java:1438)
at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexIfNotCreated(JestElasticsearchTemplate.java:1423)
at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:177)
at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.createIndex(AbstractElasticsearchRepository.java:96)
at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.<init>(AbstractElasticsearchRepository.java:87)
at org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository.<init>(NumberKeyedRepository.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:170)
... 60 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 min
[INFO] Finished at: 2018-11-20T14:56:11-05:00
[INFO] ------------------------------------------------------------------------
[14:56:11] (angular6) gba_to6
// ♥
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment