Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.22 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [INFO]
  3. [INFO] -----------------< cz.cvut.ear.semestralka:VideoRent >------------------
  4. [INFO] Building VideoRent 1.0
  5. [INFO] --------------------------------[ jar ]---------------------------------
  6. [INFO]
  7. [INFO] >>> spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) > test-compile @ VideoRent >>>
  8. [INFO]
  9. [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ VideoRent ---
  10. [INFO] argLine set to -javaagent:C:\\Users\\splithor1zon\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=D:\\Common\\MEGA\\Škola\\UNI\\03\\EAR\\filodami\\target\\jacoco.exec
  11. [INFO]
  12. [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ VideoRent ---
  13. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  14. [INFO] skip non existing resourceDirectory D:\Common\MEGA\Škola\UNI\03\EAR\filodami\src\main\webapp\build
  15. [INFO]
  16. [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ VideoRent ---
  17. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  18. [INFO] Copying 1 resource
  19. [INFO] Copying 3 resources
  20. [INFO]
  21. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ VideoRent ---
  22. [INFO] Changes detected - recompiling the module!
  23. [INFO] Compiling 34 source files to D:\Common\MEGA\Škola\UNI\03\EAR\filodami\target\classes
  24. [INFO] /D:/Common/MEGA/Škola/UNI/03/EAR/filodami/src/main/java/cz/cvut/fel/ear/videorent/services/BorrowingService.java: D:\Common\MEGA\Škola\UNI\03\EAR\filodami\src\main\java\cz\cvut\fel\ear\videorent\services\BorrowingService.java uses unchecked or unsafe operations.
  25. [INFO] /D:/Common/MEGA/Škola/UNI/03/EAR/filodami/src/main/java/cz/cvut/fel/ear/videorent/services/BorrowingService.java: Recompile with -Xlint:unchecked for details.
  26. [INFO]
  27. [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ VideoRent ---
  28. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  29. [INFO] Copying 1 resource
  30. [INFO]
  31. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ VideoRent ---
  32. [INFO] Changes detected - recompiling the module!
  33. [INFO] Compiling 9 source files to D:\Common\MEGA\Škola\UNI\03\EAR\filodami\target\test-classes
  34. [INFO]
  35. [INFO] <<< spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) < test-compile @ VideoRent <<<
  36. [INFO]
  37. [INFO]
  38. [INFO] --- spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) @ VideoRent ---
  39.  
  40. . ____ _ __ _ _
  41. /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
  42. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  43. \\/ ___)| |_)| | | | | || (_| | ) ) ) )
  44. ' |____| .__|_| |_|_| |_\__, | / / / /
  45. =========|_|==============|___/=/_/_/_/
  46. :: Spring Boot :: (v2.1.7.RELEASE)
  47.  
  48. 2019-11-17 11:33:48.727 INFO 6648 --- [ main] c.c.f.e.videorent.VideoRentApplication : Starting VideoRentApplication on RIPn1 with PID 6648 (D:\Common\MEGA\Škola\UNI\03\EAR\filodami\target\classes started by splithor1zon in D:\Common\MEGA\Škola\UNI\03\EAR\filodami)
  49. 2019-11-17 11:33:48.740 INFO 6648 --- [ main] c.c.f.e.videorent.VideoRentApplication : No active profile set, falling back to default profiles: default
  50. 2019-11-17 11:33:50.731 INFO 6648 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
  51. 2019-11-17 11:33:50.790 INFO 6648 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 37ms. Found 0 repository interfaces.
  52. 2019-11-17 11:33:51.702 INFO 6648 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bfc9b595] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  53. 2019-11-17 11:33:52.441 INFO 6648 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
  54. 2019-11-17 11:33:52.491 INFO 6648 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
  55. 2019-11-17 11:33:52.492 INFO 6648 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.22]
  56. 2019-11-17 11:33:52.686 INFO 6648 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/eshop] : Initializing Spring embedded WebApplicationContext
  57. 2019-11-17 11:33:52.686 INFO 6648 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3787 ms
  58. 2019-11-17 11:33:53.234 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
  59. 2019-11-17 11:33:54.340 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
  60. [EL Info]: 2019-11-17 11:33:56.228--ServerSession(1865535347)--EclipseLink, version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd
  61. [EL Info]: connection: 2019-11-17 11:33:56.51--ServerSession(1865535347)--file:/D:/Common/MEGA/Škola/UNI/03/EAR/filodami/target/classes/_default logout successful
  62. [EL Severe]: ejb: 2019-11-17 11:33:56.516--ServerSession(1865535347)--Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  63. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  64. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  65. 2019-11-17 11:33:56.519 WARN 6648 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [cz/cvut/fel/ear/videorent/config/PersistenceConfig.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  66. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  67. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  68. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  69. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  70. 2019-11-17 11:33:56.520 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
  71. 2019-11-17 11:33:56.758 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
  72. 2019-11-17 11:33:56.762 INFO 6648 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
  73. 2019-11-17 11:33:56.788 INFO 6648 --- [ main] ConditionEvaluationReportLoggingListener :
  74.  
  75. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  76. 2019-11-17 11:33:56.799 ERROR 6648 --- [ main] o.s.boot.SpringApplication : Application run failed
  77.  
  78. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [cz/cvut/fel/ear/videorent/config/PersistenceConfig.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  79. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  80. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  81. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  82. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  83. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  84. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  85. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  86. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  87. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  88. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  89. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  90. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  91. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  92. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  93. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  94. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  95. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  96. at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  97. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  98. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
  99. at cz.cvut.fel.ear.videorent.VideoRentApplication.main(VideoRentApplication.java:18) ~[classes/:na]
  100. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
  101. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
  102. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
  103. at java.base/java.lang.reflect.Method.invoke(Method.java:567) ~[na:na]
  104. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:543) ~[na:na]
  105. at java.base/java.lang.Thread.run(Thread.java:830) ~[na:na]
  106. Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  107. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  108. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  109. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  110. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  111. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createDeployFailedPersistenceException(EntityManagerSetupImpl.java:820) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  112. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:760) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  113. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  114. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  115. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  116. at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  117. at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  118. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  119. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  120. at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  121. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  122. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
  123. ... 22 common frames omitted
  124. Caused by: org.eclipse.persistence.exceptions.EntityManagerSetupException:
  125. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  126. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  127. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  128. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  129. at org.eclipse.persistence.exceptions.EntityManagerSetupException.deployFailed(EntityManagerSetupException.java:238) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  130. ... 34 common frames omitted
  131. Caused by: org.eclipse.persistence.exceptions.JPQLException:
  132. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  133. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  134. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:155) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  135. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:347) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  136. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:278) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  137. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:163) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  138. at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:142) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  139. at org.eclipse.persistence.internal.jpa.JPAQuery.processJPQLQuery(JPAQuery.java:221) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  140. at org.eclipse.persistence.internal.jpa.JPAQuery.prepare(JPAQuery.java:182) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  141. at org.eclipse.persistence.queries.DatabaseQuery.prepareInternal(DatabaseQuery.java:621) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  142. at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQuery(AbstractSession.java:4309) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  143. at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQueries(AbstractSession.java:4270) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  144. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:579) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  145. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  146. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756) ~[org.eclipse.persistence.core-2.5.2.jar:na]
  147. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:241) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  148. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
  149. ... 32 common frames omitted
  150.  
  151. [WARNING]
  152. java.lang.reflect.InvocationTargetException
  153. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  154. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  155. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  156. at java.base/java.lang.reflect.Method.invoke(Method.java:567)
  157. at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:543)
  158. at java.base/java.lang.Thread.run(Thread.java:830)
  159. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [cz/cvut/fel/ear/videorent/config/PersistenceConfig.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  160. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  161. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  162. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  163. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  164. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
  165. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
  166. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
  167. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
  168. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  169. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
  170. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  171. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105)
  172. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
  173. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
  174. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
  175. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)
  176. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)
  177. at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
  178. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)
  179. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)
  180. at cz.cvut.fel.ear.videorent.VideoRentApplication.main(VideoRentApplication.java:18)
  181. ... 6 more
  182. Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  183. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  184. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  185. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  186. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  187. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createDeployFailedPersistenceException(EntityManagerSetupImpl.java:820)
  188. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:760)
  189. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
  190. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182)
  191. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527)
  192. at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358)
  193. at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
  194. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390)
  195. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377)
  196. at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
  197. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
  198. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
  199. ... 22 more
  200. Caused by: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  201. Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  202. Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  203. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  204. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  205. at org.eclipse.persistence.exceptions.EntityManagerSetupException.deployFailed(EntityManagerSetupException.java:238)
  206. ... 34 more
  207. Caused by: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  208. Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  209. [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  210. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:155)
  211. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:347)
  212. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:278)
  213. at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:163)
  214. at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:142)
  215. at org.eclipse.persistence.internal.jpa.JPAQuery.processJPQLQuery(JPAQuery.java:221)
  216. at org.eclipse.persistence.internal.jpa.JPAQuery.prepare(JPAQuery.java:182)
  217. at org.eclipse.persistence.queries.DatabaseQuery.prepareInternal(DatabaseQuery.java:621)
  218. at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQuery(AbstractSession.java:4309)
  219. at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQueries(AbstractSession.java:4270)
  220. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:579)
  221. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799)
  222. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756)
  223. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:241)
  224. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685)
  225. ... 32 more
  226. [INFO] ------------------------------------------------------------------------
  227. [INFO] BUILD FAILURE
  228. [INFO] ------------------------------------------------------------------------
  229. [INFO] Total time: 21.467 s
  230. [INFO] Finished at: 2019-11-17T11:33:56+01:00
  231. [INFO] ------------------------------------------------------------------------
  232. [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) on project VideoRent: An exception occurred while running. null: InvocationTargetException: Error creating bean with name 'entityManagerFactory' defined in class path resource [cz/cvut/fel/ear/videorent/config/PersistenceConfig.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
  233. [ERROR] Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
  234. [ERROR] Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
  235. [ERROR] Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
  236. [ERROR] [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
  237. [ERROR] -> [Help 1]
  238. [ERROR]
  239. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  240. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  241. [ERROR]
  242. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  243. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement