Guest User

Untitled

a guest
Dec 14th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.54 KB | None | 0 0
  1. org.hibernate.console.HibernateConsoleRuntimeException: Could not load AnnotationConfiguration
  2. Could not load AnnotationConfiguration
  3. org.hibernate.console.HibernateConsoleRuntimeException: Could not load AnnotationConfiguration
  4. Could not load AnnotationConfiguration
  5. org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  6. Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  7. org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
  8. Unable to load class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
  9. java.lang.ClassNotFoundException: Could not load requested class : com.microsoft.sqlserver.jdbc.SQLServerDriver
  10. Could not load requested class : com.microsoft.sqlserver.jdbc.SQLServerDriver
  11.  
  12. <?xml version="1.0" encoding="UTF-8"?>
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. http://maven.apache.org/maven-v4_0_0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18.  
  19. <!-- NOTE: This is an incomplete pom. It is here to define dependencies.
  20. The project uses Apache Ant to build and deploy. -->
  21. <groupId>gov.fws</groupId>
  22. <artifactId>mExample</artifactId>
  23. <name>Mobile-Friendly Example Application</name>
  24. <version>1.0.0-BUILD-SNAPSHOT</version>
  25. <!-- <packaging>war</packaging> -->
  26. <properties>
  27. <java-version>1.8</java-version>
  28. <org.springframework-version>5.0.4.RELEASE</org.springframework-version>
  29. <org.aspectj-version>1.7.4</org.aspectj-version>
  30. <!-- NOTE: do not use Hibernate 5.2.x: broken JTA transaction management -->
  31. <hibernate.version>5.1.13.Final</hibernate.version>
  32. <hibernate.validator>5.4.1.Final</hibernate.validator>
  33. <c3p0.version>0.9.5.2</c3p0.version>
  34. <jackson.version>2.9.4</jackson.version>
  35. <project.buildDeploymentPath>C:/usr/local/jboss/standalone/deployments/</project.buildDeploymentPath>
  36. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  37. </properties>
  38.  
  39. <dependencies>
  40. <!--
  41. <dependency>
  42. <groupId>gov.fws.common</groupId>
  43. <artifactId>adt-common</artifactId>
  44. <version>1.10</version>
  45. </dependency>
  46. -->
  47.  
  48.  
  49. <!-- Spring -->
  50. <dependency>
  51. <groupId>org.springframework</groupId>
  52. <artifactId>spring-webmvc</artifactId>
  53. <version>${org.springframework-version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-orm</artifactId>
  58. <version>${org.springframework-version}</version>
  59. </dependency>
  60.  
  61. <!-- Hibernate -->
  62. <dependency>
  63. <groupId>org.hibernate</groupId>
  64. <artifactId>hibernate-core</artifactId>
  65. <version>${hibernate.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.hibernate.common</groupId>
  69. <artifactId>hibernate-commons-annotations</artifactId>
  70. <version>5.0.2.Final</version>
  71. </dependency>
  72.  
  73. <!-- Hibernate Validator -->
  74. <dependency>
  75. <groupId>org.hibernate</groupId>
  76. <artifactId>hibernate-validator</artifactId>
  77. <version>${hibernate.validator}</version>
  78. </dependency>
  79.  
  80. <!-- JSTL -->
  81. <dependency>
  82. <groupId>org.apache.taglibs</groupId>
  83. <artifactId>taglibs-standard-impl</artifactId>
  84. <version>1.2.5</version>
  85. </dependency>
  86.  
  87. <!-- AspectJ -->
  88. <dependency>
  89. <groupId>org.aspectj</groupId>
  90. <artifactId>aspectjrt</artifactId>
  91. <version>${org.aspectj-version}</version>
  92. </dependency>
  93.  
  94. <!-- Faster XML -->
  95. <dependency>
  96. <groupId>com.fasterxml.jackson.core</groupId>
  97. <artifactId>jackson-databind</artifactId>
  98. <version>${jackson.version}</version>
  99. </dependency>
  100.  
  101. <!-- @Inject -->
  102. <dependency>
  103. <groupId>javax.inject</groupId>
  104. <artifactId>javax.inject</artifactId>
  105. <version>1</version>
  106. </dependency>
  107.  
  108. <!-- Dependencies provided by WildFly A/S -->
  109. <dependency>
  110. <groupId>antlr</groupId>
  111. <artifactId>antlr</artifactId>
  112. <version>2.7.7</version>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-beanutils</groupId>
  117. <artifactId>commons-beanutils</artifactId>
  118. <version>1.8.3</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>commons-logging</groupId>
  123. <artifactId>commons-logging</artifactId>
  124. <version>1.1.1</version>
  125. <scope>provided</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>javax.servlet</groupId>
  129. <artifactId>servlet-api</artifactId>
  130. <version>2.5</version>
  131. <scope>provided</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>javax.servlet.jsp</groupId>
  135. <artifactId>jsp-api</artifactId>
  136. <version>2.2</version>
  137. <scope>provided</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>net.sourceforge.jtds</groupId>
  141. <artifactId>jtds</artifactId>
  142. <version>1.3.1</version>
  143. <scope>provided</scope>
  144. </dependency>
  145.  
  146. <!-- scope compile = test + provided -->
  147. <dependency>
  148. <groupId>log4j</groupId>
  149. <artifactId>log4j</artifactId>
  150. <version>1.2.17</version>
  151. <scope>compile</scope>
  152. </dependency>
  153.  
  154. <!-- Dependencies for unit tests -->
  155. <dependency>
  156. <groupId>commons-dbcp</groupId>
  157. <artifactId>commons-dbcp</artifactId>
  158. <version>1.4</version>
  159. <scope>test</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>commons-pool</groupId>
  163. <artifactId>commons-pool</artifactId>
  164. <version>1.3</version>
  165. <scope>test</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.bouncycastle</groupId>
  169. <artifactId>bcprov-jdk15on</artifactId>
  170. <version>1.57</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>commons-codec</groupId>
  175. <artifactId>commons-codec</artifactId>
  176. <version>1.10</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>junit</groupId>
  181. <artifactId>junit</artifactId>
  182. <version>4.11</version>
  183. <scope>test</scope>
  184. <exclusions>
  185. <exclusion>
  186. <artifactId>hamcrest-core</artifactId>
  187. <groupId>org.hamcrest</groupId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191.  
  192. <!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-library -->
  193. <dependency>
  194. <groupId>org.hamcrest</groupId>
  195. <artifactId>hamcrest-library</artifactId>
  196. <version>1.3</version>
  197. <scope>test</scope>
  198. </dependency>
  199.  
  200. <dependency>
  201. <groupId>org.mockito</groupId>
  202. <artifactId>mockito-core</artifactId>
  203. <version>1.9.5</version>
  204. <scope>test</scope>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.springframework</groupId>
  208. <artifactId>spring-test</artifactId>
  209. <version>3.2.3.RELEASE</version>
  210. <scope>test</scope>
  211. </dependency>
  212.  
  213. </dependencies>
  214.  
  215. <build>
  216. <plugins>
  217. <plugin>
  218. <artifactId>maven-compiler-plugin</artifactId>
  219. <version>2.3.2</version>
  220. <configuration>
  221. <source>${java-version}</source>
  222. <target>${java-version}</target>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </build>
  227.  
  228. <!-- <build> <plugins> <plugin> <artifactId>maven-eclipse-plugin</artifactId>
  229. <version>2.9</version> <configuration> <additionalProjectnatures> <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  230. </additionalProjectnatures> <additionalBuildcommands> <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
  231. </additionalBuildcommands> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs>
  232. </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration>
  234. <source>${java-version}</source> <target>${java-version}</target> <compilerArgument>-Xlint:all</compilerArgument>
  235. </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId>
  236. <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <configuration>
  237. <mainClass>org.test.int1.Main</mainClass> </configuration> </plugin> <plugin>
  238. <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId>
  239. <configuration> <outputDirectory>${project.buildDeploymentPath}</outputDirectory>
  240. </configuration> </plugin> </plugins> <finalName>${project.artifactId}</finalName>
  241. </build> -->
  242. </project>
Add Comment
Please, Sign In to add comment