Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.42 KB | None | 0 0
  1. . ____ _ __ _ _
  2. /\ / ___'_ __ _ _(_)_ __ __ _
  3. ( ( )___ | '_ | '_| | '_ / _` |
  4. \/ ___)| |_)| | | | | || (_| | ) ) ) )
  5. ' |____| .__|_| |_|_| |___, | / / / /
  6. =========|_|==============|___/=/_/_/_/
  7. :: Spring Boot :: (v2.1.1.RELEASE)
  8.  
  9. 2019-01-03 12:24:55.675 INFO 8780 --- [ main] com.javainuse.SpringBatchApplication : Starting SpringBatchApplication on chnmct371583D with PID 8780 (D:Git_verizon_2referencesjcl-pocspringboot-batchtargetclasses started by lokeshkumar.r in D:Git_verizon_2referencesjcl-pocspringboot-batch)
  10. 2019-01-03 12:24:55.692 INFO 8780 --- [ main] com.javainuse.SpringBatchApplication : No active profile set, falling back to default profiles: default
  11. 2019-01-03 12:24:57.040 INFO 8780 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.task.batch.configuration.TaskBatchAutoConfiguration' of type [org.springframework.cloud.task.batch.configuration.TaskBatchAutoConfiguration$$EnhancerBySpringCGLIB$$9ab3189c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  12. 2019-01-03 12:24:57.060 INFO 8780 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$15436d10] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  13. 2019-01-03 12:24:57.115 INFO 8780 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.task.batch.listener.BatchEventAutoConfiguration' of type [org.springframework.cloud.task.batch.listener.BatchEventAutoConfiguration$$EnhancerBySpringCGLIB$$e309229f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  14. 2019-01-03 12:24:57.329 INFO 8780 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
  15. 2019-01-03 12:24:57.633 INFO 8780 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
  16. 2019-01-03 12:24:58.870 INFO 8780 --- [ main] o.s.b.c.r.s.JobRepositoryFactoryBean : No database type set, using meta data indicating: POSTGRES
  17. 2019-01-03 12:24:58.891 INFO 8780 --- [ main] o.s.b.c.l.support.SimpleJobLauncher : No TaskExecutor has been set, defaulting to synchronous executor.
  18. 2019-01-03 12:25:00.696 INFO 8780 --- [ main] com.javainuse.SpringBatchApplication : Started SpringBatchApplication in 5.803 seconds (JVM running for 6.428)
  19. 2019-01-03 12:25:00.698 INFO 8780 --- [ main] o.s.b.a.b.JobLauncherCommandLineRunner : Running default command line with: []
  20. 2019-01-03 12:25:00.806 INFO 8780 --- [ main] ConditionEvaluationReportLoggingListener :
  21.  
  22. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  23. 2019-01-03 12:25:00.826 INFO 8780 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
  24. 2019-01-03 12:25:00.877 INFO 8780 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
  25. 2019-01-03 12:25:00.885 ERROR 8780 --- [ main] o.s.boot.SpringApplication : Application run failed
  26.  
  27. java.lang.IllegalStateException: Failed to execute CommandLineRunner
  28. at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:816) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  29. at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:797) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  30. at org.springframework.boot.SpringApplication.run(SpringApplication.java:324) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  31. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  32. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  33. at com.javainuse.SpringBatchApplication.main(SpringBatchApplication.java:12) [classes/:na]
  34. Caused by: java.lang.IllegalArgumentException: Unable to deserialize the execution context
  35. at org.springframework.batch.core.repository.dao.JdbcExecutionContextDao$ExecutionContextRowMapper.mapRow(JdbcExecutionContextDao.java:325) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  36. at org.springframework.batch.core.repository.dao.JdbcExecutionContextDao$ExecutionContextRowMapper.mapRow(JdbcExecutionContextDao.java:309) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  37. at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:94) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  38. at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:61) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  39. at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:679) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  40. at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:617) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  41. at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:669) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  42. at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:700) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  43. at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:712) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  44. at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:768) ~[spring-jdbc-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  45. at org.springframework.batch.core.repository.dao.JdbcExecutionContextDao.getExecutionContext(JdbcExecutionContextDao.java:112) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  46. at org.springframework.batch.core.explore.support.SimpleJobExplorer.getJobExecutionDependencies(SimpleJobExplorer.java:204) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  47. at org.springframework.batch.core.explore.support.SimpleJobExplorer.getJobExecutions(SimpleJobExplorer.java:85) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  48. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_162]
  49. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_162]
  50. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_162]
  51. at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_162]
  52. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  53. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  54. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  55. at org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration$PassthruAdvice.invoke(SimpleBatchConfiguration.java:127) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  56. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  57. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.1.3.RELEASE.jar:5.1.3.RELEASE]
  58. at com.sun.proxy.$Proxy53.getJobExecutions(Unknown Source) ~[na:na]
  59. at org.springframework.batch.core.JobParametersBuilder.getNextJobParameters(JobParametersBuilder.java:266) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  60. at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.getNextJobParameters(JobLauncherCommandLineRunner.java:229) ~[spring-boot-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  61. at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.execute(JobLauncherCommandLineRunner.java:213) ~[spring-boot-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  62. at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.executeLocalJobs(JobLauncherCommandLineRunner.java:186) ~[spring-boot-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  63. at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.launchJobFromProperties(JobLauncherCommandLineRunner.java:172) ~[spring-boot-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  64. at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.run(JobLauncherCommandLineRunner.java:166) ~[spring-boot-autoconfigure-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  65. at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:813) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
  66. ... 5 common frames omitted
  67. Caused by: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id '' as a subtype of [simple type, class java.lang.Object]: no such class found
  68. at [Source: (ByteArrayInputStream); line: 1, column: 11] (through reference chain: java.util.HashMap["map"])
  69. at com.fasterxml.jackson.databind.exc.InvalidTypeIdException.from(InvalidTypeIdException.java:43) ~[jackson-databind-2.9.7.jar:2.9.7]
  70. at com.fasterxml.jackson.databind.DeserializationContext.invalidTypeIdException(DeserializationContext.java:1635) ~[jackson-databind-2.9.7.jar:2.9.7]
  71. at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownTypeId(DeserializationContext.java:1187) ~[jackson-databind-2.9.7.jar:2.9.7]
  72. at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver._typeFromId(ClassNameIdResolver.java:53) ~[jackson-databind-2.9.7.jar:2.9.7]
  73. at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:44) ~[jackson-databind-2.9.7.jar:2.9.7]
  74. at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:156) ~[jackson-databind-2.9.7.jar:2.9.7]
  75. at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:97) ~[jackson-databind-2.9.7.jar:2.9.7]
  76. at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:71) ~[jackson-databind-2.9.7.jar:2.9.7]
  77. at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:712) ~[jackson-databind-2.9.7.jar:2.9.7]
  78. at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:529) ~[jackson-databind-2.9.7.jar:2.9.7]
  79. at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[jackson-databind-2.9.7.jar:2.9.7]
  80. at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[jackson-databind-2.9.7.jar:2.9.7]
  81. at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013) ~[jackson-databind-2.9.7.jar:2.9.7]
  82. at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3077) ~[jackson-databind-2.9.7.jar:2.9.7]
  83. at org.springframework.batch.core.repository.dao.Jackson2ExecutionContextStringSerializer.deserialize(Jackson2ExecutionContextStringSerializer.java:70) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  84. at org.springframework.batch.core.repository.dao.Jackson2ExecutionContextStringSerializer.deserialize(Jackson2ExecutionContextStringSerializer.java:50) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  85. at org.springframework.batch.core.repository.dao.JdbcExecutionContextDao$ExecutionContextRowMapper.mapRow(JdbcExecutionContextDao.java:322) ~[spring-batch-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
  86. ... 35 common frames omitted
  87.  
  88. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
  89. spring.datasource.driver-class-name=org.postgresql.Driver
  90. spring.datasource.username = postgres
  91. spring.datasource.password = root
  92. spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
  93.  
  94. <?xml version="1.0" encoding="UTF-8"?>
  95. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  96. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  97. <modelVersion>4.0.0</modelVersion>
  98.  
  99. <groupId>com.javainuse</groupId>
  100. <artifactId>springboot-batch</artifactId>
  101. <version>0.0.1</version>
  102. <packaging>jar</packaging>
  103.  
  104. <name>SpringBatch</name>
  105. <description>Spring Batch-Spring Boot</description>
  106.  
  107. <parent>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-parent</artifactId>
  110. <version>2.1.1.RELEASE</version>
  111. <relativePath /> <!-- lookup parent from repository -->
  112. </parent>
  113.  
  114. <properties>
  115. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  116. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  117. <java.version>1.8</java.version>
  118. <spring-cloud-task.version>1.2.3.RELEASE</spring-cloud-task.version>
  119. </properties>
  120.  
  121. <dependencies>
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-web</artifactId>
  129. <exclusions>
  130. <exclusion>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-tomcat</artifactId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.postgresql</groupId>
  138. <artifactId>postgresql</artifactId>
  139. <version>42.2.2</version>
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-test</artifactId>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-starter-batch</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.cloud</groupId>
  151. <artifactId>spring-cloud-starter-task</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.cloud</groupId>
  155. <artifactId>spring-cloud-task-core</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-data-rest</artifactId>
  160. </dependency>
  161. </dependencies>
  162.  
  163. <dependencyManagement>
  164. <dependencies>
  165. <dependency>
  166. <groupId>org.springframework.cloud</groupId>
  167. <artifactId>spring-cloud-task-dependencies</artifactId>
  168. <version>${spring-cloud-task.version}</version>
  169. <type>pom</type>
  170. <scope>import</scope>
  171. </dependency>
  172. </dependencies>
  173. </dependencyManagement>
  174.  
  175. <build>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.springframework.boot</groupId>
  179. <artifactId>spring-boot-maven-plugin</artifactId>
  180. </plugin>
  181. </plugins>
  182. </build>
  183.  
  184.  
  185. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement