Guest User

Untitled

a guest
Nov 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <groupId>com.vircosolutions.mobileapi</groupId>
  4. <artifactId>mobileApi</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <packaging>war</packaging>
  7.  
  8. <name>mobileApi</name>
  9. <description>Mobile API</description>
  10.  
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.3.RELEASE</version>
  15. </parent>
  16.  
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <java.version>1.8</java.version>
  20. <joda-time.version>2.10</joda-time.version>
  21. <jjwt.version>0.9.1</jjwt.version>
  22. <hibernate-ehcache-version>5.3.6.Final</hibernate-ehcache-version>
  23. </properties>
  24.  
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-rest</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-data-jpa</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.data</groupId>
  46. <artifactId>spring-data-rest-hal-browser</artifactId>
  47. </dependency>
  48. <!-- Exclude Spring Boot's Default Logging -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter</artifactId>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-logging</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <!-- logger Log4j2 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-log4j2</artifactId>
  63. </dependency>
  64.  
  65. <!-- lombok -->
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71.  
  72. <!-- Rest Assured for Testing web services -->
  73. <dependency>
  74. <groupId>io.rest-assured</groupId>
  75. <artifactId>rest-assured</artifactId>
  76. <version>3.1.0</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  80. <dependency>
  81. <groupId>org.apache.commons</groupId>
  82. <artifactId>commons-lang3</artifactId>
  83. <version>3.8</version>
  84. </dependency>
  85.  
  86. <!-- JAVA mail -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-mail</artifactId>
  90. <version>2.0.1.RELEASE</version>
  91. </dependency>
  92.  
  93. <!-- EH Cache -->
  94. <dependency>
  95. <groupId>org.hibernate</groupId>
  96. <artifactId>hibernate-core</artifactId>
  97. <version>${hibernate-ehcache-version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.hibernate</groupId>
  101. <artifactId>hibernate-ehcache</artifactId>
  102. <version>${hibernate-ehcache-version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.velocity</groupId>
  106. <artifactId>velocity</artifactId>
  107. <version>1.7</version>
  108. </dependency>
  109.  
  110. </dependencies>
  111.  
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <executions>
  118. <execution>
  119. <goals>
  120. <goal>repackage</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. </plugins>
  126. </build>
  127.  
  128. @EnableSpringDataWebSupport
  129. @SpringBootApplication
  130. public class MobileApplication extends SpringBootServletInitializer {
  131.  
  132. @Override
  133. protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
  134. return super.configure(builder);
  135. }
  136.  
  137. public static void main(String[] args) {
  138. SpringApplication.run(MobileApplication.class, args);
  139. }
  140.  
  141. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
Add Comment
Please, Sign In to add comment