· 9 years ago · Jan 14, 2017, 06:20 PM
1/usr/lib/jvm/java-8-oracle/bin/java -ea -Didea.launcher.port=7539 -Didea.launcher.bin.path=/home/mateusz/intellij16/bin -Dfile.encoding=UTF-8 -classpath /home/mateusz/intellij16/lib/idea_rt.jar:/home/mateusz/intellij16/plugins/junit/lib/junit-rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes:/home/mateusz/Dokumenty/uczelnia/apsi/target/classes:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.4.3.RELEASE/spring-boot-starter-web-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter/1.4.3.RELEASE/spring-boot-starter-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot/1.4.3.RELEASE/spring-boot-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.4.3.RELEASE/spring-boot-autoconfigure-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.4.3.RELEASE/spring-boot-starter-logging-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar:/home/mateusz/.m2/repository/ch/qos/logback/logback-core/1.1.8/logback-core-1.1.8.jar:/home/mateusz/.m2/repository/org/slf4j/jul-to-slf4j/1.7.22/jul-to-slf4j-1.7.22.jar:/home/mateusz/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.22/log4j-over-slf4j-1.7.22.jar:/home/mateusz/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.4.3.RELEASE/spring-boot-starter-tomcat-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar:/home/mateusz/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.6/tomcat-embed-el-8.5.6.jar:/home/mateusz/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.6/tomcat-embed-websocket-8.5.6.jar:/home/mateusz/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar:/home/mateusz/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/mateusz/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar:/home/mateusz/.m2/repository/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar:/home/mateusz/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.5/jackson-databind-2.8.5.jar:/home/mateusz/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.5/jackson-annotations-2.8.5.jar:/home/mateusz/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.5/jackson-core-2.8.5.jar:/home/mateusz/.m2/repository/org/springframework/spring-web/4.3.5.RELEASE/spring-web-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-beans/4.3.5.RELEASE/spring-beans-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-context/4.3.5.RELEASE/spring-context-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-webmvc/4.3.5.RELEASE/spring-webmvc-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-expression/4.3.5.RELEASE/spring-expression-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/com/h2database/h2/1.4.193/h2-1.4.193.jar:/home/mateusz/.m2/repository/org/postgresql/postgresql/9.4.1212.jre7/postgresql-9.4.1212.jre7.jar:/home/mateusz/.m2/repository/org/projectlombok/lombok/1.16.12/lombok-1.16.12.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.4.3.RELEASE/spring-boot-starter-test-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-test/1.4.3.RELEASE/spring-boot-test-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/1.4.3.RELEASE/spring-boot-test-autoconfigure-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar:/home/mateusz/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar:/home/mateusz/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar:/home/mateusz/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/home/mateusz/.m2/repository/org/slf4j/slf4j-api/1.7.22/slf4j-api-1.7.22.jar:/home/mateusz/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/mateusz/.m2/repository/org/assertj/assertj-core/2.5.0/assertj-core-2.5.0.jar:/home/mateusz/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/home/mateusz/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/home/mateusz/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/mateusz/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/home/mateusz/.m2/repository/org/skyscreamer/jsonassert/1.3.0/jsonassert-1.3.0.jar:/home/mateusz/.m2/repository/org/json/json/20140107/json-20140107.jar:/home/mateusz/.m2/repository/org/springframework/spring-core/4.3.5.RELEASE/spring-core-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-test/4.3.5.RELEASE/spring-test-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/1.4.3.RELEASE/spring-boot-starter-data-jpa-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.4.3.RELEASE/spring-boot-starter-aop-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar:/home/mateusz/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.4.3.RELEASE/spring-boot-starter-jdbc-1.4.3.RELEASE.jar:/home/mateusz/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.6/tomcat-jdbc-8.5.6.jar:/home/mateusz/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.6/tomcat-juli-8.5.6.jar:/home/mateusz/.m2/repository/org/springframework/spring-jdbc/4.3.5.RELEASE/spring-jdbc-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/hibernate/hibernate-core/5.0.11.Final/hibernate-core-5.0.11.Final.jar:/home/mateusz/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/mateusz/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar:/home/mateusz/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/mateusz/.m2/repository/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar:/home/mateusz/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/mateusz/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/home/mateusz/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar:/home/mateusz/.m2/repository/org/hibernate/hibernate-entitymanager/5.0.11.Final/hibernate-entitymanager-5.0.11.Final.jar:/home/mateusz/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/home/mateusz/.m2/repository/org/springframework/data/spring-data-jpa/1.10.6.RELEASE/spring-data-jpa-1.10.6.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/data/spring-data-commons/1.12.6.RELEASE/spring-data-commons-1.12.6.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-orm/4.3.5.RELEASE/spring-orm-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/springframework/spring-tx/4.3.5.RELEASE/spring-tx-4.3.5.RELEASE.jar:/home/mateusz/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.22/jcl-over-slf4j-1.7.22.jar:/home/mateusz/.m2/repository/org/springframework/spring-aspects/4.3.5.RELEASE/spring-aspects-4.3.5.RELEASE.jar com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 pl.edu.elka.pw.apsi.OrderServiceApplicationTests,putOrder
219:16:36.498 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
319:16:36.504 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
419:16:36.514 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
519:16:36.534 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
619:16:36.549 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests], using SpringBootContextLoader
719:16:36.555 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]: class path resource [pl/edu/elka/pw/apsi/OrderServiceApplicationTests-context.xml] does not exist
819:16:36.555 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]: class path resource [pl/edu/elka/pw/apsi/OrderServiceApplicationTestsContext.groovy] does not exist
919:16:36.556 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
1019:16:36.557 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]: OrderServiceApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
1119:16:36.598 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
1219:16:36.607 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
1319:16:36.609 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
1419:16:36.610 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
1519:16:36.627 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved classpath location [pl/edu/elka/pw/apsi/] to resources [URL [file:/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes/pl/edu/elka/pw/apsi/], URL [file:/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi/]]
1619:16:36.628 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes/pl/edu/elka/pw/apsi]
1719:16:36.628 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Searching directory [/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes/pl/edu/elka/pw/apsi] for files matching pattern [/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes/pl/edu/elka/pw/apsi/*.class]
1819:16:36.632 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi]
1919:16:36.632 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Searching directory [/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi] for files matching pattern [/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi/*.class]
2019:16:36.636 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved location pattern [classpath*:pl/edu/elka/pw/apsi/*.class] to resources [file [/home/mateusz/Dokumenty/uczelnia/apsi/target/test-classes/pl/edu/elka/pw/apsi/OrderServiceApplicationTests.class], file [/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi/OrderServiceApplication.class]]
2119:16:36.739 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/home/mateusz/Dokumenty/uczelnia/apsi/target/classes/pl/edu/elka/pw/apsi/OrderServiceApplication.class]
2219:16:36.740 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration pl.edu.elka.pw.apsi.OrderServiceApplication for test class pl.edu.elka.pw.apsi.OrderServiceApplicationTests
2319:16:36.747 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]: using defaults.
2419:16:36.754 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2519:16:36.786 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6366ebe0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@44f75083, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2698dc7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@43d7741f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@17baae6e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@69379752, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@27fe3806, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5f71c76a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@1d7acb34, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@48a242ce, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1e4a7dd4, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4f51b3e0]
2619:16:36.788 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
2719:16:36.789 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]19:16:36.801 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
2819:16:36.801 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]19:16:36.803 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
2919:16:36.803 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
3019:16:36.804 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
3119:16:36.804 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
3219:16:36.811 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@69a10787 testClass = OrderServiceApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2d127a61 testClass = OrderServiceApplicationTests, locations = '{}', classes = '{class pl.edu.elka.pw.apsi.OrderServiceApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.SpringBootTestContextCustomizer@598067a5, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5f341870, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@49993335], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null].
3319:16:36.812 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
3419:16:36.812 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [pl.edu.elka.pw.apsi.OrderServiceApplicationTests]
3519:16:36.916 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
3619:16:36.916 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
3719:16:36.916 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
3819:16:36.918 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
3919:16:36.919 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [Inlined Test Properties] PropertySource with highest search precedence
40
41 . ____ _ __ _ _
42 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
43( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
44 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
45 ' |____| .__|_| |_|_| |_\__, | / / / /
46 =========|_|==============|___/=/_/_/_/
47 :: Spring Boot :: (v1.4.3.RELEASE)
48
492017-01-14 19:16:37.978 INFO 21143 --- [ main] p.e.e.p.a.OrderServiceApplicationTests : Starting OrderServiceApplicationTests on mateusz-Inspiron-5547 with PID 21143 (started by mateusz in /home/mateusz/Dokumenty/uczelnia/apsi)
502017-01-14 19:16:37.989 INFO 21143 --- [ main] p.e.e.p.a.OrderServiceApplicationTests : No active profile set, falling back to default profiles: default
512017-01-14 19:16:38.115 INFO 21143 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@3e8c3cb: startup date [Sat Jan 14 19:16:38 CET 2017]; root of context hierarchy
522017-01-14 19:16:40.034 INFO 21143 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ef79b091] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
532017-01-14 19:16:40.831 INFO 21143 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
542017-01-14 19:16:40.864 INFO 21143 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
55 name: default
56 ...]
572017-01-14 19:16:40.968 INFO 21143 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.11.Final}
582017-01-14 19:16:40.969 INFO 21143 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
592017-01-14 19:16:40.971 INFO 21143 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
602017-01-14 19:16:41.020 INFO 21143 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
612017-01-14 19:16:41.168 INFO 21143 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
622017-01-14 19:16:41.892 INFO 21143 --- [ main] org.hibernate.tuple.PojoInstantiator : HHH000182: No default (no-argument) constructor for class: pl.edu.elka.pw.apsi.core.order.Order (class must be instantiated by Interceptor)
632017-01-14 19:16:41.930 INFO 21143 --- [ main] org.hibernate.tuple.PojoInstantiator : HHH000182: No default (no-argument) constructor for class: pl.edu.elka.pw.apsi.core.order.ProductAmount (class must be instantiated by Interceptor)
642017-01-14 19:16:41.934 INFO 21143 --- [ main] org.hibernate.tuple.PojoInstantiator : HHH000182: No default (no-argument) constructor for class: pl.edu.elka.pw.apsi.core.order.OrderProduct (class must be instantiated by Interceptor)
652017-01-14 19:16:42.027 INFO 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
662017-01-14 19:16:42.029 ERROR 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: drop table order if exists
672017-01-14 19:16:42.029 ERROR 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : Błąd składniowy w wyrażeniu SQL "DROP TABLE ORDER[*] IF EXISTS "; oczekiwano "identifier"
68Syntax error in SQL statement "DROP TABLE ORDER[*] IF EXISTS "; expected "identifier"; SQL statement:
69drop table order if exists [42001-193]
702017-01-14 19:16:42.030 ERROR 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: create table order (id bigint generated by default as identity, customer_adress varchar(255), customer_mail varchar(255), customer_name varchar(255), customer_surname varchar(255), status_id bigint, sum_cost double, primary key (id))
712017-01-14 19:16:42.030 ERROR 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : Błąd składniowy w wyrażeniu SQL "CREATE TABLE ORDER[*] (ID BIGINT GENERATED BY DEFAULT AS IDENTITY, CUSTOMER_ADRESS VARCHAR(255), CUSTOMER_MAIL VARCHAR(255), CUSTOMER_NAME VARCHAR(255), CUSTOMER_SURNAME VARCHAR(255), STATUS_ID BIGINT, SUM_COST DOUBLE, PRIMARY KEY (ID)) "; oczekiwano "identifier"
72Syntax error in SQL statement "CREATE TABLE ORDER[*] (ID BIGINT GENERATED BY DEFAULT AS IDENTITY, CUSTOMER_ADRESS VARCHAR(255), CUSTOMER_MAIL VARCHAR(255), CUSTOMER_NAME VARCHAR(255), CUSTOMER_SURNAME VARCHAR(255), STATUS_ID BIGINT, SUM_COST DOUBLE, PRIMARY KEY (ID)) "; expected "identifier"; SQL statement:
73create table order (id bigint generated by default as identity, customer_adress varchar(255), customer_mail varchar(255), customer_name varchar(255), customer_surname varchar(255), status_id bigint, sum_cost double, primary key (id)) [42001-193]
742017-01-14 19:16:42.045 INFO 21143 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
752017-01-14 19:16:42.094 INFO 21143 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
762017-01-14 19:16:43.365 INFO 21143 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@3e8c3cb: startup date [Sat Jan 14 19:16:38 CET 2017]; root of context hierarchy
772017-01-14 19:16:43.470 INFO 21143 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/addOrder],methods=[POST]}" onto public void pl.edu.elka.pw.apsi.api.OrdersApi.addOrder(pl.edu.elka.pw.apsi.api.OrderDTO)
782017-01-14 19:16:43.471 INFO 21143 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/getCustomerOrders],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.util.List<pl.edu.elka.pw.apsi.api.OrderDTO>> pl.edu.elka.pw.apsi.api.OrdersApi.getCustomerOrders(java.lang.String)
792017-01-14 19:16:43.474 INFO 21143 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
802017-01-14 19:16:43.475 INFO 21143 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
812017-01-14 19:16:43.519 INFO 21143 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
822017-01-14 19:16:43.520 INFO 21143 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
832017-01-14 19:16:43.577 INFO 21143 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
842017-01-14 19:16:43.898 INFO 21143 --- [ main] p.e.e.p.a.OrderServiceApplicationTests : Started OrderServiceApplicationTests in 6.953 seconds (JVM running for 8.007)
852017-01-14 19:16:43.982 WARN 21143 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 42001, SQLState: 42001
862017-01-14 19:16:43.982 ERROR 21143 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : Błąd składniowy w wyrażeniu SQL "INSERT INTO ORDER[*] (ID, CUSTOMER_ADRESS, CUSTOMER_MAIL, CUSTOMER_NAME, CUSTOMER_SURNAME, STATUS_ID, SUM_COST) VALUES (NULL, ?, ?, ?, ?, ?, ?) "; oczekiwano "identifier"
87Syntax error in SQL statement "INSERT INTO ORDER[*] (ID, CUSTOMER_ADRESS, CUSTOMER_MAIL, CUSTOMER_NAME, CUSTOMER_SURNAME, STATUS_ID, SUM_COST) VALUES (NULL, ?, ?, ?, ?, ?, ?) "; expected "identifier"; SQL statement:
88insert into order (id, customer_adress, customer_mail, customer_name, customer_surname, status_id, sum_cost) values (null, ?, ?, ?, ?, ?, ?) [42001-193]
89
90org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement; SQL [insert into order (id, customer_adress, customer_mail, customer_name, customer_surname, status_id, sum_cost) values (null, ?, ?, ?, ?, ?, ?)]; nested exception is org.hibernate.exception.SQLGrammarException: could not prepare statement
91
92 at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:261)
93 at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:244)
94 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:491)
95 at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)
96 at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)
97 at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)
98 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
99 at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)
100 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
101 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
102 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
103 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
104 at com.sun.proxy.$Proxy81.save(Unknown Source)
105 at pl.edu.elka.pw.apsi.services.OrderService.addOrder(OrderService.java:33)
106 at pl.edu.elka.pw.apsi.OrderServiceApplicationTests.putOrder(OrderServiceApplicationTests.java:44)
107 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
108 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
109 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
110 at java.lang.reflect.Method.invoke(Method.java:498)
111 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
112 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
113 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
114 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
115 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
116 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
117 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
118 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
119 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
120 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
121 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
122 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
123 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
124 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
125 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
126 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
127 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
128 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
129 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
130 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
131 at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
132 at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
133 at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
134 at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
135 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
136 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
137 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
138 at java.lang.reflect.Method.invoke(Method.java:498)
139 at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
140Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
141 at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)
142 at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
143 at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
144 at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:182)
145 at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:108)
146 at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.prepare(GetGeneratedKeysDelegate.java:51)
147 at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:39)
148 at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2803)
149 at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3374)
150 at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)
151 at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:619)
152 at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:273)
153 at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:254)
154 at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:299)
155 at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:317)
156 at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:272)
157 at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
158 at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:109)
159 at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
160 at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
161 at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
162 at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
163 at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
164 at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
165 at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
166 at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
167 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
168 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
169 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
170 at java.lang.reflect.Method.invoke(Method.java:498)
171 at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)
172 at com.sun.proxy.$Proxy79.persist(Unknown Source)
173 at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:506)
174 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
175 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
176 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
177 at java.lang.reflect.Method.invoke(Method.java:498)
178 at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:503)
179 at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:488)
180 at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:460)
181 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
182 at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)
183 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
184 at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
185 at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
186 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
187 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
188 at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
189 ... 42 more
190Caused by: org.h2.jdbc.JdbcSQLException: Błąd składniowy w wyrażeniu SQL "INSERT INTO ORDER[*] (ID, CUSTOMER_ADRESS, CUSTOMER_MAIL, CUSTOMER_NAME, CUSTOMER_SURNAME, STATUS_ID, SUM_COST) VALUES (NULL, ?, ?, ?, ?, ?, ?) "; oczekiwano "identifier"
191Syntax error in SQL statement "INSERT INTO ORDER[*] (ID, CUSTOMER_ADRESS, CUSTOMER_MAIL, CUSTOMER_NAME, CUSTOMER_SURNAME, STATUS_ID, SUM_COST) VALUES (NULL, ?, ?, ?, ?, ?, ?) "; expected "identifier"; SQL statement:
192insert into order (id, customer_adress, customer_mail, customer_name, customer_surname, status_id, sum_cost) values (null, ?, ?, ?, ?, ?, ?) [42001-193]
193 at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
194 at org.h2.message.DbException.getSyntaxError(DbException.java:205)
195 at org.h2.command.Parser.readIdentifierWithSchema(Parser.java:3131)
196 at org.h2.command.Parser.readTableOrView(Parser.java:5366)
197 at org.h2.command.Parser.parseInsert(Parser.java:1053)
198 at org.h2.command.Parser.parsePrepared(Parser.java:413)
199 at org.h2.command.Parser.parse(Parser.java:317)
200 at org.h2.command.Parser.parse(Parser.java:289)
201 at org.h2.command.Parser.prepareCommand(Parser.java:254)
202 at org.h2.engine.Session.prepareLocal(Session.java:561)
203 at org.h2.engine.Session.prepareCommand(Session.java:502)
204 at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1203)
205 at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)
206 at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:287)
207 at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:1137)
208 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
209 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
210 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
211 at java.lang.reflect.Method.invoke(Method.java:498)
212 at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)
213 at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
214 at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81)
215 at com.sun.proxy.$Proxy67.prepareStatement(Unknown Source)
216 at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$2.doPrepare(StatementPreparerImpl.java:106)
217 at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:172)
218 ... 86 more
219
2202017-01-14 19:16:44.010 INFO 21143 --- [ Thread-2] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@3e8c3cb: startup date [Sat Jan 14 19:16:38 CET 2017]; root of context hierarchy
2212017-01-14 19:16:44.020 INFO 21143 --- [ Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2222017-01-14 19:16:44.021 INFO 21143 --- [ Thread-2] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
2232017-01-14 19:16:44.022 ERROR 21143 --- [ Thread-2] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: drop table order if exists
2242017-01-14 19:16:44.022 ERROR 21143 --- [ Thread-2] org.hibernate.tool.hbm2ddl.SchemaExport : Błąd składniowy w wyrażeniu SQL "DROP TABLE ORDER[*] IF EXISTS "; oczekiwano "identifier"
225Syntax error in SQL statement "DROP TABLE ORDER[*] IF EXISTS "; expected "identifier"; SQL statement:
226drop table order if exists [42001-193]
2272017-01-14 19:16:44.044 INFO 21143 --- [ Thread-2] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
228
229Process finished with exit code 255