Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] -----------------< cz.cvut.ear.semestralka:VideoRent >------------------
- [INFO] Building VideoRent 1.0
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] >>> spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) > test-compile @ VideoRent >>>
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ VideoRent ---
- [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
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ VideoRent ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory D:\Common\MEGA\Škola\UNI\03\EAR\filodami\src\main\webapp\build
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ VideoRent ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ VideoRent ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 34 source files to D:\Common\MEGA\Škola\UNI\03\EAR\filodami\target\classes
- [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.
- [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.
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ VideoRent ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ VideoRent ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 9 source files to D:\Common\MEGA\Škola\UNI\03\EAR\filodami\target\test-classes
- [INFO]
- [INFO] <<< spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) < test-compile @ VideoRent <<<
- [INFO]
- [INFO]
- [INFO] --- spring-boot-maven-plugin:2.1.7.RELEASE:run (default-cli) @ VideoRent ---
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.1.7.RELEASE)
- 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)
- 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
- 2019-11-17 11:33:50.731 INFO 6648 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
- 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.
- 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)
- 2019-11-17 11:33:52.441 INFO 6648 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
- 2019-11-17 11:33:52.491 INFO 6648 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2019-11-17 11:33:52.492 INFO 6648 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.22]
- 2019-11-17 11:33:52.686 INFO 6648 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/eshop] : Initializing Spring embedded WebApplicationContext
- 2019-11-17 11:33:52.686 INFO 6648 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3787 ms
- 2019-11-17 11:33:53.234 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
- 2019-11-17 11:33:54.340 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
- [EL Info]: 2019-11-17 11:33:56.228--ServerSession(1865535347)--EclipseLink, version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd
- [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
- [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
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- 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
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- 2019-11-17 11:33:56.520 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
- 2019-11-17 11:33:56.758 INFO 6648 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
- 2019-11-17 11:33:56.762 INFO 6648 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
- 2019-11-17 11:33:56.788 INFO 6648 --- [ main] ConditionEvaluationReportLoggingListener :
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2019-11-17 11:33:56.799 ERROR 6648 --- [ main] o.s.boot.SpringApplication : Application run failed
- 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
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) ~[spring-boot-2.1.7.RELEASE.jar:2.1.7.RELEASE]
- at cz.cvut.fel.ear.videorent.VideoRentApplication.main(VideoRentApplication.java:18) ~[classes/:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
- at java.base/java.lang.reflect.Method.invoke(Method.java:567) ~[na:na]
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:543) ~[na:na]
- at java.base/java.lang.Thread.run(Thread.java:830) ~[na:na]
- Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createDeployFailedPersistenceException(EntityManagerSetupImpl.java:820) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:760) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ~[spring-beans-5.1.9.RELEASE.jar:5.1.9.RELEASE]
- ... 22 common frames omitted
- Caused by: org.eclipse.persistence.exceptions.EntityManagerSetupException:
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.exceptions.EntityManagerSetupException.deployFailed(EntityManagerSetupException.java:238) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- ... 34 common frames omitted
- Caused by: org.eclipse.persistence.exceptions.JPQLException:
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:155) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:347) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:278) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:163) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:142) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.JPAQuery.processJPQLQuery(JPAQuery.java:221) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.JPAQuery.prepare(JPAQuery.java:182) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.queries.DatabaseQuery.prepareInternal(DatabaseQuery.java:621) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQuery(AbstractSession.java:4309) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQueries(AbstractSession.java:4270) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:579) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756) ~[org.eclipse.persistence.core-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:241) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685) ~[org.eclipse.persistence.jpa-2.5.2.jar:na]
- ... 32 common frames omitted
- [WARNING]
- java.lang.reflect.InvocationTargetException
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:567)
- at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:543)
- at java.base/java.lang.Thread.run(Thread.java:830)
- 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
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)
- at cz.cvut.fel.ear.videorent.VideoRentApplication.main(VideoRentApplication.java:18)
- ... 6 more
- Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createDeployFailedPersistenceException(EntityManagerSetupImpl.java:820)
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:760)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:182)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:527)
- at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:358)
- at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
- at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390)
- at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377)
- at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
- ... 22 more
- Caused by: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
- Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.exceptions.EntityManagerSetupException.deployFailed(EntityManagerSetupException.java:238)
- ... 34 more
- Caused by: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:155)
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:347)
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:278)
- at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:163)
- at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:142)
- at org.eclipse.persistence.internal.jpa.JPAQuery.processJPQLQuery(JPAQuery.java:221)
- at org.eclipse.persistence.internal.jpa.JPAQuery.prepare(JPAQuery.java:182)
- at org.eclipse.persistence.queries.DatabaseQuery.prepareInternal(DatabaseQuery.java:621)
- at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQuery(AbstractSession.java:4309)
- at org.eclipse.persistence.internal.sessions.AbstractSession.processJPAQueries(AbstractSession.java:4270)
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:579)
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799)
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:241)
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685)
- ... 32 more
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 21.467 s
- [INFO] Finished at: 2019-11-17T11:33:56+01:00
- [INFO] ------------------------------------------------------------------------
- [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
- [ERROR] Exception Description: Deployment of PersistenceUnit [default] failed. Close all factories for this PersistenceUnit.
- [ERROR] Internal Exception: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
- [ERROR] Exception Description: Problem compiling [SELECT v from Video v WHERE :genre MEMBER OF v.genres AND NOT v.removed].
- [ERROR] [62, 71] The state field path 'v.removed' cannot be resolved to a valid type.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement