Advertisement
Guest User

Untitled

a guest
Jan 24th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.30 KB | None | 0 0
  1. <dependencies>
  2. <dependency>
  3. <groupId>org.springframework.boot</groupId>
  4. <artifactId>spring-boot-starter</artifactId>
  5. </dependency>
  6. <!--
  7. <dependency>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-web</artifactId>
  10. </dependency>
  11. -->
  12. <!--
  13. <dependency>
  14. <groupId>InsuranceWrapper</groupId>
  15. <artifactId>InsuranceWrapper</artifactId>
  16. <version>1.0</version>
  17. </dependency>
  18. -->
  19. </dependencies>
  20.  
  21. java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$TransactionManagementConfiguration due to org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurer not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)
  22. at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55) ~[spring-boot-autoconfigure-1.3.1.RELEASE.jar:1.3.1.RELEASE]
  23. at
  24. Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurer
  25. at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_45]
  26. at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_45]
  27. at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_45]
  28. at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:609) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
  29. at
  30. Caused by: java.lang.ClassNotFoundException: org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer
  31. at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_45]
  32. at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_45]
  33. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_45]
  34. at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_45]
  35. ... 38 common frames omitted
  36.  
  37. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  38. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
  39. at
  40. Caused by: java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  41. at org.hibernate.jpa.boot.internal.PersistenceUnitInfoDescriptor.getValidationMode(PersistenceUnitInfoDescriptor.java:99) ~[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
  42.  
  43. [INFO] net.ebaolife:EBTasks:jar:0.0.1-SNAPSHOT
  44. [INFO] +- org.springframework.boot:spring-boot-starter:jar:1.3.1.RELEASE:compile
  45. [INFO] | +- org.springframework.boot:spring-boot:jar:1.3.1.RELEASE:compile
  46. [INFO] | | - org.springframework:spring-context:jar:4.2.4.RELEASE:compile
  47. [INFO] | | - org.springframework:spring-expression:jar:4.2.4.RELEASE:compile
  48. [INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.3.1.RELEASE:compile
  49. [INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:1.3.1.RELEASE:compile
  50. [INFO] | | +- ch.qos.logback:logback-classic:jar:1.1.2:compile
  51. [INFO] | | | - ch.qos.logback:logback-core:jar:1.1.2:compile
  52. [INFO] | | +- org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
  53. [INFO] | | +- org.slf4j:jul-to-slf4j:jar:1.7.7:compile
  54. [INFO] | | - org.slf4j:log4j-over-slf4j:jar:1.7.7:compile
  55. [INFO] | +- org.springframework:spring-core:jar:4.2.4.RELEASE:compile
  56. [INFO] | - org.yaml:snakeyaml:jar:1.16:runtime
  57. [INFO] +- org.springframework.boot:spring-boot-starter-freemarker:jar:1.3.1.RELEASE:compile
  58. [INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:1.3.1.RELEASE:compile
  59. [INFO] | | +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.3.1.RELEASE:compile
  60. [INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.0.30:compile
  61. [INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.0.30:compile
  62. [INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-logging-juli:jar:8.0.30:compile
  63. [INFO] | | | - org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.0.30:compile
  64. [INFO] | | +- org.springframework.boot:spring-boot-starter-validation:jar:1.3.1.RELEASE:compile
  65. [INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.4:compile
  66. [INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.4:compile
  67. [INFO] | | | - com.fasterxml.jackson.core:jackson-core:jar:2.6.4:compile
  68. [INFO] | | +- org.springframework:spring-web:jar:4.2.4.RELEASE:compile
  69. [INFO] | | - org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile
  70. [INFO] | +- org.freemarker:freemarker:jar:2.3.23:compile
  71. [INFO] | - org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile
  72. [INFO] | - org.springframework:spring-beans:jar:4.2.4.RELEASE:compile
  73. [INFO] +- org.springframework.boot:spring-boot-starter-jdbc:jar:1.3.1.RELEASE:compile
  74. [INFO] | +- org.apache.tomcat:tomcat-jdbc:jar:8.0.30:compile
  75. [INFO] | | - org.apache.tomcat:tomcat-juli:jar:8.0.30:compile
  76. [INFO] | - org.springframework:spring-jdbc:jar:4.2.4.RELEASE:compile
  77. [INFO] | - org.springframework:spring-tx:jar:4.2.4.RELEASE:compile
  78. [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:1.3.1.RELEASE:test
  79. [INFO] | +- junit:junit:jar:4.12:compile
  80. [INFO] | +- org.mockito:mockito-core:jar:1.10.19:test
  81. [INFO] | | - org.objenesis:objenesis:jar:2.1:test
  82. [INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:compile
  83. [INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test
  84. [INFO] | - org.springframework:spring-test:jar:4.2.4.RELEASE:test
  85. [INFO] +- com.dangdang:elastic-job-core:jar:1.0.2:compile
  86. [INFO] | +- org.projectlombok:lombok:jar:1.16.4:compile
  87. [INFO] | +- com.google.guava:guava:jar:18.0:compile
  88. [INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.2:compile
  89. [INFO] | | - commons-collections:commons-collections:jar:3.2.2:compile
  90. [INFO] | +- org.quartz-scheduler:quartz:jar:2.2.1:compile
  91. [INFO] | | +- c3p0:c3p0:jar:0.9.1.1:compile
  92. [INFO] | | - org.slf4j:slf4j-api:jar:1.7.7:compile
  93. [INFO] | +- org.apache.curator:curator-framework:jar:2.8.0:compile
  94. [INFO] | | - org.apache.zookeeper:zookeeper:jar:3.4.6:compile
  95. [INFO] | | +- log4j:log4j:jar:1.2.17:compile
  96. [INFO] | | +- jline:jline:jar:0.9.94:compile
  97. [INFO] | | - io.netty:netty:jar:3.7.0.Final:compile
  98. [INFO] | +- org.apache.curator:curator-client:jar:2.8.0:compile
  99. [INFO] | - org.apache.curator:curator-recipes:jar:2.8.0:compile
  100. [INFO] +- com.dangdang:elastic-job-spring:jar:1.0.2:compile
  101. [INFO] +- org.mybatis:mybatis:jar:3.2.8:compile
  102. [INFO] +- org.mybatis:mybatis-spring:jar:1.2.2:compile
  103. [INFO] +- mysql:mysql-connector-java:jar:5.1.38:compile
  104. [INFO] +- org.mongodb.morphia:morphia:jar:1.1.0:compile
  105. [INFO] | +- org.mongodb:mongo-java-driver:jar:2.13.3:compile
  106. [INFO] | +- com.thoughtworks.proxytoys:proxytoys:jar:1.0:compile
  107. [INFO] | - cglib:cglib-nodep:jar:2.2.2:compile
  108. [INFO] +- eu.bitwalker:UserAgentUtils:jar:1.18:compile
  109. [INFO] - InsuranceWrapper:InsuranceWrapper:jar:1.0:compile
  110. [INFO] +- ebcore:ebcore:jar:1.0:compile
  111. [INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile
  112. [INFO] | +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
  113. [INFO] | | - org.apache.commons:commons-pool2:jar:2.4.2:compile
  114. [INFO] | +- org.jdom:jdom:jar:1.1:compile
  115. [INFO] | +- org.jdom:jdom2:jar:2.0.6:compile
  116. [INFO] | +- commons-pool:commons-pool:jar:1.6:compile
  117. [INFO] | +- aopalliance:aopalliance:jar:1.0:compile
  118. [INFO] | +- org.springframework:spring-aop:jar:4.2.4.RELEASE:compile
  119. [INFO] | +- org.springframework:spring-orm:jar:4.2.4.RELEASE:compile
  120. [INFO] | +- org.acegisecurity:acegi-security:jar:1.0.7:compile
  121. [INFO] | | +- org.springframework:spring-remoting:jar:1.2.9:compile
  122. [INFO] | | +- org.springframework:spring-support:jar:1.2.9:runtime
  123. [INFO] | | - commons-lang:commons-lang:jar:2.1:compile
  124. [INFO] | +- com.aliyun.openservices:aliyun-openservices:jar:1.2.2:compile
  125. [INFO] | | - com.google.protobuf:protobuf-java:jar:2.4.1:compile
  126. [INFO] | +- antlr:antlr:jar:2.7.7:compile
  127. [INFO] | +- org.apache.ant:ant:jar:1.9.4:compile
  128. [INFO] | | - org.apache.ant:ant-launcher:jar:1.9.4:compile
  129. [INFO] | +- asm:asm-attrs:jar:1.5.3:compile
  130. [INFO] | +- asm:asm:jar:3.1:compile
  131. [INFO] | +- org.aspectj:aspectjrt:jar:1.8.7:compile
  132. [INFO] | +- aspectj:aspectjweaver:jar:1.5.3:compile
  133. [INFO] | +- org.glassfish.hk2.external:cglib:jar:2.1.3:compile
  134. [INFO] | +- org.cometd.java:cometd-api:jar:1.0.beta8:compile
  135. [INFO] | +- org.mortbay.jetty:cometd-server:jar:6.1.17:compile
  136. [INFO] | | - org.mortbay.jetty:jetty-util5:jar:6.1.17:compile
  137. [INFO] | +- commons-discovery:commons-discovery:jar:0.2:compile
  138. [INFO] | +- commons-fileupload:commons-fileupload:jar:1.3:compile
  139. [INFO] | | - commons-io:commons-io:jar:2.2:compile
  140. [INFO] | +- com.hynnet:commons-lang3:jar:3.3.2:compile
  141. [INFO] | +- commons-net:commons-net:jar:3.3:compile
  142. [INFO] | +- org.xhtmlrenderer:core-renderer:jar:R8:compile
  143. [INFO] | +- dom4j:dom4j:jar:1.6.1:compile
  144. [INFO] | | - xml-apis:xml-apis:jar:1.0.b2:compile
  145. [INFO] | +- org.directwebremoting:dwr:jar:2.0.3:compile
  146. [INFO] | +- net.sf.ehcache:ehcache:jar:2.10.1:compile
  147. [INFO] | +- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
  148. [INFO] | +- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
  149. [INFO] | +- org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile
  150. [INFO] | | +- org.hibernate:hibernate-commons-annotations:jar:3.1.0.GA:compile
  151. [INFO] | | - org.hibernate:hibernate-core:jar:4.3.11.Final:compile
  152. [INFO] | | - org.jboss:jandex:jar:1.1.0.Final:compile
  153. [INFO] | +- org.hibernate:hibernate-entitymanager:jar:4.3.11.Final:compile
  154. [INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
  155. [INFO] | | +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
  156. [INFO] | | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
  157. [INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
  158. [INFO] | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
  159. [INFO] | | - org.javassist:javassist:jar:3.18.1-GA:compile
  160. [INFO] | +- org.hibernate:hibernate-search:jar:3.1.0.GA:compile
  161. [INFO] | | - org.apache.lucene:lucene-core:jar:2.4.0:compile
  162. [INFO] | +- org.hibernate:hibernate-tools:jar:3.2.4.GA:compile
  163. [INFO] | | +- org.beanshell:bsh:jar:2.0b4:compile
  164. [INFO] | | - org.hibernate:jtidy:jar:r8-20060801:compile
  165. [INFO] | +- org.hibernate:hibernate-validator:jar:5.2.2.Final:compile
  166. [INFO] | | +- javax.validation:validation-api:jar:1.1.0.Final:compile
  167. [INFO] | | - com.fasterxml:classmate:jar:1.1.0:compile
  168. [INFO] | +- oro:oro:jar:2.0.8:compile
  169. [INFO] | +- javassist:javassist:jar:3.11.0.GA:compile
  170. [INFO] | +- jaxen:jaxen:jar:1.1.6:compile
  171. [INFO] | +- axis:axis-jaxrpc:jar:1.3:compile
  172. [INFO] | +- jboss:jboss-archive-browsing:jar:2.0.2.alpha:compile
  173. [INFO] | +- com.jcraft:jsch:jar:0.1.51:compile
  174. [INFO] | +- org.json:json:jar:20140107:compile
  175. [INFO] | +- javax.servlet:jstl:jar:1.2:compile
  176. [INFO] | +- javax.transaction:jta:jar:1.1:compile
  177. [INFO] | +- net.sourceforge.jexcelapi:jxl:jar:2.6.10:compile
  178. [INFO] | +- com.sun.mail:javax.mail:jar:1.5.4:compile
  179. [INFO] | +- ognl:ognl:jar:3.0.6:compile
  180. [INFO] | +- jsptags:pager-taglib:jar:2.0:compile
  181. [INFO] | +- com.belerweb:pinyin4j:jar:2.5.0:compile
  182. [INFO] | +- org.apache.poi:poi:jar:3.12:compile
  183. [INFO] | +- org.apache.poi:poi-scratchpad:jar:3.12:compile
  184. [INFO] | +- org.slf4j:slf4j-log4j12:jar:1.7.7:compile
  185. [INFO] | +- com.google.code.simple-spring-memcached:spymemcached:jar:2.8.4:compile
  186. [INFO] | +- taglibs:standard:jar:1.1.2:compile
  187. [INFO] | +- org.apache.struts:struts2-core:jar:2.3.24.1:compile
  188. [INFO] | | - org.apache.struts.xwork:xwork-core:jar:2.3.24.1:compile
  189. [INFO] | | - asm:asm-commons:jar:3.3:compile
  190. [INFO] | | - asm:asm-tree:jar:3.3:compile
  191. [INFO] | +- org.apache.struts:struts2-json-plugin:jar:2.3.24.1:compile
  192. [INFO] | | - org.apache.commons:commons-lang3:jar:3.2:compile
  193. [INFO] | +- org.apache.struts:struts2-spring-plugin:jar:2.3.24.1:compile
  194. [INFO] | +- redis.clients:jedis:jar:2.7.3:compile
  195. [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.1:compile
  196. [INFO] | | - org.apache.httpcomponents:httpcore:jar:4.4.4:compile
  197. [INFO] | +- ebao:tk-filters:jar:1.0:compile
  198. [INFO] | +- ebao:flexjson:jar:1.0:compile
  199. [INFO] | +- ebao:QRCode:jar:1.0:compile
  200. [INFO] | +- ebao:java_memcached:jar:release_2.6.6:compile
  201. [INFO] | +- ebao:jbarcode:jar:0.2.8:compile
  202. [INFO] | +- ebao:jdbc2.0:jar:stdext:compile
  203. [INFO] | - ebao:lylab:jar:1.0:compile
  204. [INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
  205. [INFO] +- ebao:cxf:jar:2.3.3:compile
  206. [INFO] +- com.google.code.findbugs:jsr305:jar:3.0.0:compile
  207. [INFO] +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.7:compile
  208. [INFO] +- org.apache.axis:axis:jar:1.4:compile
  209. [INFO] +- org.codehaus.xfire:xfire-core:jar:1.2.6:compile
  210. [INFO] | +- javax.activation:activation:jar:1.1:compile
  211. [INFO] | +- wsdl4j:wsdl4j:jar:1.6.3:compile
  212. [INFO] | +- stax:stax-api:jar:1.0.1:compile
  213. [INFO] | +- commons-codec:commons-codec:jar:1.3:compile
  214. [INFO] | +- org.codehaus.woodstox:wstx-asl:jar:3.2.0:compile
  215. [INFO] | +- commons-logging:commons-logging:jar:1.0.4:compile
  216. [INFO] | - commons-httpclient:commons-httpclient:jar:3.0:compile
  217. [INFO] +- org.codehaus.xfire:xfire-aegis:jar:1.2.6:compile
  218. [INFO] | - net.java.dev.stax-utils:stax-utils:jar:20040917:compile
  219. [INFO] +- org.codehaus.xfire:xfire-java5:jar:1.2.6:compile
  220. [INFO] | +- org.codehaus.xfire:xfire-annotations:jar:1.2.6:compile
  221. [INFO] | | - commons-attributes:commons-attributes-api:jar:2.1:compile
  222. [INFO] | | - qdox:qdox:jar:1.5:compile
  223. [INFO] | - xfire:xfire-jsr181-api:jar:1.0-M1:compile
  224. [INFO] - org.codehaus.xfire:xfire-xmlbeans:jar:1.2.6:compile
  225. [INFO] - xmlbeans:xbean:jar:2.2.0:compile
  226.  
  227. <exclusions>
  228. <exclusion>
  229. <artifactId>*</artifactId>
  230. <groupId>org.hibernate</groupId>
  231. </exclusion>
  232. <exclusion>
  233. <artifactId>*</artifactId>
  234. <groupId>org.slf4j</groupId>
  235. </exclusion>
  236. </exclusions>
  237.  
  238. <exclusions>
  239. <exclusion>
  240. <artifactId>*</artifactId>
  241. <groupId>org.hibernate</groupId>
  242. </exclusion>
  243. <exclusion>
  244. <artifactId>*</artifactId>
  245. <groupId>org.slf4j</groupId>
  246. </exclusion>
  247. <exclusion>
  248. <artifactId>freemarker</artifactId>
  249. <groupId>org.freemarker</groupId>
  250. </exclusion>
  251. <exclusion>
  252. <artifactId>spring-web</artifactId>
  253. <groupId>org.springframework</groupId>
  254. </exclusion>
  255. <exclusion>
  256. <artifactId>struts2-spring-plugin</artifactId>
  257. <groupId>org.apache.struts</groupId>
  258. </exclusion>
  259. </exclusions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement