Guest User

Untitled

a guest
Nov 27th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.09 KB | None | 0 0
  1. @RequestMapping(value="/api/something", method = RequestMethod.POST)
  2. @ResponseStatus(code = HttpStatus.CREATED)
  3. public Long doSomething(@Valid @RequestBody Data data) throws CustomException {
  4. return service.save(data).getId();
  5. }
  6.  
  7. 2018-11-27 12:23:04,577 DEBUG [Default Executor-thread-331] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor - Read [class com.acme.Data] as "application/json;charset=UTF-8" with [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@2d98d21d]
  8. 2018-11-27 12:23:04,578 DEBUG [Default Executor-thread-331] DEBUG org.springframework.core.annotation.AnnotationUtils - Failed to meta-introspect annotation class com.sun.proxy.$Proxy418: java.lang.NoSuchMethodException: javax.validation.Valid.value()
  9. 2018-11-27 12:23:04,580 DEBUG [Default Executor-thread-331] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - Resolving exception from handler [public java.lang.Long com.acme.Controller.doSomething(com.acme.Data) throws com.acme.SomeException]: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Persistence
  10.  
  11. Application Exception StackTrace: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Persistence
  12. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1006)
  13. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
  14. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
  15. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
  16. at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
  17. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
  18. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  19. at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)
  20. at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743)
  21. at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440)
  22. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:147)
  23. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
  24. at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:158)
  25. at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:126)
  26. at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:111)
  27. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  28. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  29. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  30. at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
  31. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  32. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  33. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  34. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
  35. at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
  36. at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
  37. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  38. at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
  39. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  40. at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
  41. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  42. at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
  43. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  44. at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
  45. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  46. at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
  47. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  48. at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
  49. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  50. at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
  51. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  52. at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
  53. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  54. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  55. at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
  56. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  57. at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
  58. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  59. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
  60. at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
  61. at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
  62. at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
  63. at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
  64. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  65. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  66. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
  67. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  68. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  69. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  70. at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
  71. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  72. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  73. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  74. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
  75. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  76. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  77. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  78. at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:130)
  79. at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66)
  80. at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:105)
  81. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  82. at org.springframework.boot.web.se
  83. rvlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:123)
  84. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  85. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  86. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
  87. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  88. at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
  89. at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
  90. at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:995)
  91. at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1124)
  92. at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4962)
  93. at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314)
  94. at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:995)
  95. at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279)
  96. at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:957)
  97. at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:357)
  98. at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:316)
  99. at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:499)
  100. at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:433)
  101. at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:313)
  102. at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:284)
  103. at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:165)
  104. at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:74)
  105. at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:501)
  106. at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:571)
  107. at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:926)
  108. at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1015)
  109. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  110. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  111. at java.lang.Thread.run(Thread.java:748)
  112. Caused by: java.lang.NoClassDefFoundError: javax/persistence/Persistence
  113. at org.apache.bval.jsr.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:34)
  114. at org.apache.bval.jsr.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:58)
  115. at org.apache.bval.jsr.resolver.CachingTraversableResolver.isReachable(CachingTraversableResolver.java:81)
  116. at org.apache.bval.jsr.ConstraintValidation.isReachable(ConstraintValidation.java:454)
  117. at org.apache.bval.jsr.ConstraintValidation.validateGroupContext(ConstraintValidation.java:188)
  118. at org.apache.bval.jsr.ConstraintValidation.validate(ConstraintValidation.java:145)
  119. at org.apache.bval.util.ValidationHelper.validateProperty(ValidationHelper.java:236)
  120. at org.apache.bval.jsr.ClassValidator.validateBean(ClassValidator.java:460)
  121. at org.apache.bval.jsr.ClassValidator.validateBeanNet(ClassValidator.java:406)
  122. at org.apache.bval.jsr.ClassValidator.validateBeanWithGroups(ClassValidator.java:152)
  123. at org.apache.bval.jsr.ClassValidator.validate(ClassValidator.java:139)
  124. at org.springframework.validation.beanvalidation.SpringValidatorAdapter.validate(SpringValidatorAdapter.java:120)
  125. at org.springframework.boot.autoconfigure.validation.ValidatorAdapter.validate(ValidatorAdapter.java:69)
  126. at org.springframework.validation.DataBinder.validate(DataBinder.java:871)
  127. at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.validateIfApplicable(AbstractMessageConverterMethodArgumentResolver.java:260)
  128. at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:136)
  129. at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:124)
  130. at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:161)
  131. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:131)
  132. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
  133. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
  134. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
  135. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  136. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
  137. ... 98 more
  138. Caused by: java.lang.ClassNotFoundException: javax.persistence.Persistence cannot be found by com.ibm.ws.org.apache.bval.1.1.0_1.0.19.201712061531
  139. at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
  140. at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
  141. at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
  142. at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
  143. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  144. ... 122 more
  145.  
  146. [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ bridges-document-imaging ---
  147. [INFO] com.acme:my-web-portal:jar:1.0.0-beta-SNAPSHOT
  148. [INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
  149. [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
  150. [INFO] | - commons-codec:commons-codec:jar:1.11:compile
  151. [INFO] +- org.apache.httpcomponents:httpmime:jar:4.5.5:compile
  152. [INFO] +- org.apache.tika:tika-parsers:jar:1.2:compile
  153. [INFO] | +- org.apache.tika:tika-core:jar:1.2:compile
  154. [INFO] | +- org.gagravarr:vorbis-java-tika:jar:0.1:compile
  155. [INFO] | | - org.gagravarr:vorbis-java-core:jar:tests:0.1:test,provided
  156. [INFO] | +- edu.ucar:netcdf:jar:4.2-min:compile
  157. [INFO] | +- org.apache.james:apache-mime4j-core:jar:0.7.2:compile
  158. [INFO] | +- org.apache.james:apache-mime4j-dom:jar:0.7.2:compile
  159. [INFO] | +- org.apache.commons:commons-compress:jar:1.4.1:compile
  160. [INFO] | | - org.tukaani:xz:jar:1.0:compile
  161. [INFO] | +- org.bouncycastle:bcmail-jdk15:jar:1.45:compile
  162. [INFO] | +- org.bouncycastle:bcprov-jdk15:jar:1.45:compile
  163. [INFO] | +- org.apache.poi:poi:jar:3.8:compile
  164. [INFO] | +- org.apache.poi:poi-scratchpad:jar:3.8:compile
  165. [INFO] | +- org.apache.poi:poi-ooxml:jar:3.8:compile
  166. [INFO] | | +- org.apache.poi:poi-ooxml-schemas:jar:3.8:compile
  167. [INFO] | | | - org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
  168. [INFO] | | - dom4j:dom4j:jar:1.6.1:compile
  169. [INFO] | +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
  170. [INFO] | +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:compile
  171. [INFO] | +- asm:asm:jar:3.1:compile
  172. [INFO] | +- com.googlecode.mp4parser:isoparser:jar:1.0-RC-1:compile
  173. [INFO] | | - org.aspectj:aspectjrt:jar:1.8.13:compile
  174. [INFO] | +- com.drewnoakes:metadata-extractor:jar:2.4.0-beta-1:compile
  175. [INFO] | +- de.l3s.boilerpipe:boilerpipe:jar:1.1.0:compile
  176. [INFO] | +- rome:rome:jar:0.9:compile
  177. [INFO] | +- org.gagravarr:vorbis-java-core:jar:0.1:compile
  178. [INFO] | - com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3:compile
  179. [INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.12:compile
  180. [INFO] | +- org.apache.pdfbox:fontbox:jar:2.0.12:compile
  181. [INFO] | - commons-logging:commons-logging:jar:1.2:compile
  182. [INFO] +- commons-io:commons-io:jar:2.6:compile
  183. [INFO] +- org.springframework.boot:spring-boot-starter-activemq:jar:2.0.3.RELEASE:compile
  184. [INFO] | +- org.springframework:spring-jms:jar:5.0.7.RELEASE:compile
  185. [INFO] | | +- org.springframework:spring-beans:jar:5.0.7.RELEASE:compile
  186. [INFO] | | +- org.springframework:spring-messaging:jar:5.0.7.RELEASE:compile
  187. [INFO] | | - org.springframework:spring-tx:jar:5.0.7.RELEASE:compile
  188. [INFO] | - javax.jms:javax.jms-api:jar:2.0.1:compile
  189. [INFO] +- org.apache.activemq:activemq-broker:jar:5.15.4:compile
  190. [INFO] | +- org.apache.activemq:activemq-client:jar:5.15.4:compile
  191. [INFO] | | +- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:compile
  192. [INFO] | | +- org.fusesource.hawtbuf:hawtbuf:jar:1.11:compile
  193. [INFO] | | - org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0.1:compile
  194. [INFO] | +- org.apache.activemq:activemq-openwire-legacy:jar:5.15.4:compile
  195. [INFO] | - com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
  196. [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
  197. [INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
  198. [INFO] +- gov.nh.dhhs.bridges:bridges-core-persistence:jar:1.0.0-beta-SNAPSHOT:compile
  199. [INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.0.3.RELEASE:compile
  200. [INFO] | | - org.springframework:spring-jdbc:jar:5.0.7.RELEASE:compile
  201. [INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.0.3.RELEASE:compile
  202. [INFO] | | +- org.springframework:spring-aop:jar:5.0.7.RELEASE:compile
  203. [INFO] | | - org.aspectj:aspectjweaver:jar:1.8.13:compile
  204. [INFO] | +- com.oracle.jdbc:ojdbc7:jar:12.1.0.2:compile
  205. [INFO] | +- com.zaxxer:HikariCP:jar:3.2.0:compile
  206. [INFO] | +- org.springframework.data:spring-data-oracle:jar:1.2.1.RELEASE:compile
  207. [INFO] | | +- org.springframework:spring-context:jar:5.0.7.RELEASE:compile
  208. [INFO] | | - org.springframework.retry:spring-retry:jar:1.2.2.RELEASE:compile
  209. [INFO] | +- org.springframework.security:spring-security-core:jar:5.0.6.RELEASE:compile
  210. [INFO] | | - org.springframework:spring-expression:jar:5.0.7.RELEASE:compile
  211. [INFO] | +- org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:1.3.2:compile
  212. [INFO] | | +- org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:jar:1.3.2:compile
  213. [INFO] | | +- org.mybatis:mybatis:jar:3.4.6:compile
  214. [INFO] | | - org.mybatis:mybatis-spring:jar:1.3.2:compile
  215. [INFO] | - gov.nh.dhhs.bridges:bridges-domain-model:jar:1.0.0-beta-SNAPSHOT:compile
  216. [INFO] | - javax.persistence:javax.persistence-api:jar:2.2:compile
  217. [INFO] +- com.acme:reference-info:jar:1.0.0-beta-SNAPSHOT:compile
  218. [INFO] | +- com.acme:reference-spec:jar:1.0.0-beta-SNAPSHOT:compile
  219. [INFO] | | - com.acme:reference-model:jar:1.0.0-beta-SNAPSHOT:compile
  220. [INFO] | +- org.ehcache:ehcache:jar:3.5.2:compile
  221. [INFO] | +- org.apache.commons:commons-lang3:jar:3.7:compile
  222. [INFO] | +- org.apache.commons:commons-collections4:jar:4.1:compile
  223. [INFO] | +- org.springframework:spring-webmvc:jar:5.0.7.RELEASE:compile
  224. [INFO] | - org.springframework.boot:spring-boot-starter-json:jar:2.0.3.RELEASE:compile
  225. [INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6:compile
  226. [INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6:compile
  227. [INFO] | - com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6:compile
  228. [INFO] +- com.acme:configuration:jar:1.0.0-beta-SNAPSHOT:test
  229. [INFO] | +- com.acme:configuration-api:jar:1.0.0-beta-SNAPSHOT:compile
  230. [INFO] | - org.jvnet.jaxb2_commons:jaxb2-basics-runtime:jar:0.6.4:test
  231. [INFO] +- com.acme:configuration-zookeeper-impl:jar:1.0.0-beta-SNAPSHOT:compile
  232. [INFO] | - gov.nh.dhhs.newheights:newheights-configurationmanager:jar:1.0.18-SNAPSHOT:compile
  233. [INFO] | +- org.apache.zookeeper:zookeeper:jar:3.5.1-alpha:compile
  234. [INFO] | | +- commons-cli:commons-cli:jar:1.2:compile
  235. [INFO] | | +- io.netty:netty:jar:3.7.0.Final:compile
  236. [INFO] | | - net.java.dev.javacc:javacc:jar:5.0:compile
  237. [INFO] | +- org.apache.curator:curator-client:jar:3.3.0:compile
  238. [INFO] | +- org.apache.curator:curator-framework:jar:3.3.0:compile
  239. [INFO] | +- org.apache.curator:curator-recipes:jar:3.3.0:compile
  240. [INFO] | - javax.ejb:javax.ejb-api:jar:3.2:compile
  241. [INFO] | - javax.transaction:javax.transaction-api:jar:1.2:compile
  242. [INFO] +- com.acme:common-services:jar:1.0.0-beta-SNAPSHOT:compile
  243. [INFO] | +- com.acme:security-core:jar:1.0.0-beta-SNAPSHOT:compile
  244. [INFO] | | +- org.springframework.security:spring-security-jwt:jar:1.0.9.RELEASE:compile
  245. [INFO] | | | - org.bouncycastle:bcpkix-jdk15on:jar:1.56:compile
  246. [INFO] | | | - org.bouncycastle:bcprov-jdk15on:jar:1.56:compile
  247. [INFO] | | +- org.springframework.boot:spring-boot-starter-security:jar:2.0.3.RELEASE:compile
  248. [INFO] | | | +- org.springframework.security:spring-security-config:jar:5.0.6.RELEASE:compile
  249. [INFO] | | | - org.springframework.security:spring-security-web:jar:5.0.6.RELEASE:compile
  250. [INFO] | | - org.springframework.security.oauth:spring-security-oauth2:jar:2.3.3.RELEASE:compile
  251. [INFO] | | - org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
  252. [INFO] | | - org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
  253. [INFO] | +- javax.cache:cache-api:jar:1.1.0:compile
  254. [INFO] | +- org.springframework:spring-context-support:jar:5.0.7.RELEASE:compile
  255. [INFO] | - org.ehcache:ehcache-clustered:jar:3.5.2:compile
  256. [INFO] +- com.acme:support-core:jar:1.0.0-beta-SNAPSHOT:test
  257. [INFO] | - org.springframework.data:spring-data-jdbc-core:jar:1.2.1.RELEASE:compile
  258. [INFO] +- org.apache.logging.log4j:log4j-1.2-api:jar:2.10.0:compile
  259. [INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.10.0:compile
  260. [INFO] | - org.apache.logging.log4j:log4j-core:jar:2.10.0:compile
  261. [INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.1.0.RELEASE:compile
  262. [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.0.3.RELEASE:test
  263. [INFO] | +- org.springframework.boot:spring-boot-test:jar:2.0.3.RELEASE:test
  264. [INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.3.RELEASE:test
  265. [INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
  266. [INFO] | | - net.minidev:json-smart:jar:2.3:test
  267. [INFO] | | - net.minidev:accessors-smart:jar:1.2:test
  268. [INFO] | | - org.ow2.asm:asm:jar:5.0.4:test
  269. [INFO] | +- org.assertj:assertj-core:jar:3.9.1:test
  270. [INFO] | +- org.mockito:mockito-core:jar:2.15.0:test
  271. [INFO] | | +- net.bytebuddy:byte-buddy:jar:1.7.11:test
  272. [INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.7.11:test
  273. [INFO] | | - org.objenesis:objenesis:jar:2.6:test
  274. [INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test
  275. [INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test
  276. [INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
  277. [INFO] | | - com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
  278. [INFO] | +- org.springframework:spring-core:jar:5.0.7.RELEASE:compile
  279. [INFO] | | - org.springframework:spring-jcl:jar:5.0.7.RELEASE:compile
  280. [INFO] | +- org.springframework:spring-test:jar:5.0.7.RELEASE:test
  281. [INFO] | - org.xmlunit:xmlunit-core:jar:2.5.1:test
  282. [INFO] +- org.hamcrest:hamcrest-all:jar:1.3:test
  283. [INFO] +- junit:junit:jar:4.12:test
  284. [INFO] +- org.mockito:mockito-all:jar:1.10.19:test
  285. [INFO] +- com.jayway.jsonpath:json-path-assert:jar:2.4.0:test
  286. [INFO] | - org.slf4j:slf4j-api:jar:1.7.25:compile
  287. [INFO] +- org.glassfish:javax.servlet:jar:3.0:provided
  288. [INFO] +- commons-dbcp:commons-dbcp:jar:1.4:test
  289. [INFO] | - commons-pool:commons-pool:jar:1.6:test
  290. [INFO] +- joda-time:joda-time:jar:2.10:compile
  291. [INFO] +- com.google.guava:guava:jar:25.1-jre:compile
  292. [INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
  293. [INFO] | +- org.checkerframework:checker-qual:jar:2.0.0:compile
  294. [INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.1.3:compile
  295. [INFO] | +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
  296. [INFO] | - org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
  297. [INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.0.3.RELEASE:compile
  298. [INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.0.3.RELEASE:compile
  299. [INFO] | | - org.springframework.boot:spring-boot-actuator:jar:2.0.3.RELEASE:compile
  300. [INFO] | - io.micrometer:micrometer-core:jar:1.0.5:compile
  301. [INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.10:compile
  302. [INFO] | - org.latencyutils:LatencyUtils:jar:2.0.3:compile
  303. [INFO] +- org.springframework.boot:spring-boot-starter:jar:2.0.3.RELEASE:compile
  304. [INFO] | +- org.springframework.boot:spring-boot:jar:2.0.3.RELEASE:compile
  305. [INFO] | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
  306. [INFO] | - org.yaml:snakeyaml:jar:1.19:runtime
  307. [INFO] +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.0.3.RELEASE:compile
  308. [INFO] | +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.10.0:compile
  309. [INFO] | +- org.apache.logging.log4j:log4j-jul:jar:2.10.0:compile
  310. [INFO] | - org.slf4j:jul-to-slf4j:jar:1.7.25:compile
  311. [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.0.3.RELEASE:compile
  312. [INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.10.Final:compile
  313. [INFO] | | +- javax.validation:validation-api:jar:2.0.1.Final:compile
  314. [INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
  315. [INFO] | | - com.fasterxml:classmate:jar:1.3.4:compile
  316. [INFO] | - org.springframework:spring-web:jar:5.0.7.RELEASE:compile
  317. [INFO] +- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.3.RELEASE:compile
  318. [INFO] - io.swagger:swagger-annotations:jar:1.5.21:compile
  319.  
  320. @Configuration
  321. public class AppConfig implements WebMvcConfigurer {
  322.  
  323.  
  324. @Override
  325. public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
  326. resolvers.add(new ClientResolver());
  327. resolvers.add(new ProductResolver());
  328. resolvers.add(new KeyValueResolver());
  329. }
  330.  
  331. @Override
  332. public void addFormatters(FormatterRegistry registry) {
  333. // add default converters and formatters ...
  334. ApplicationConversionService.configure(registry);
  335. registry.removeConvertible(String.class, Enum.class);
  336. }
  337.  
  338. @Bean
  339. @Primary
  340. public ObjectMapper objectMapper(Jackson2ObjectMapperBuilder builder) {
  341. return builder.build();
  342. }
  343.  
  344. }
Add Comment
Please, Sign In to add comment