· 8 years ago · Dec 30, 2017, 10:10 PM
1ingframework/boot/spring-boot-starter-logging/1.5.8.RELEASE/spring-boot-starter-logging-1.5.8.RELEASE.jar:/home/julia/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/home/julia/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/home/julia/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/home/julia/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/home/julia/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.5.8.RELEASE/spring-boot-starter-aop-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-aop/4.3.12.RELEASE/spring-aop-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/aspectj/aspectjweaver/1.8.11/aspectjweaver-1.8.11.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.5.8.RELEASE/spring-boot-starter-jdbc-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.23/tomcat-jdbc-8.5.23.jar:/home/julia/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.23/tomcat-juli-8.5.23.jar:/home/julia/.m2/repository/org/springframework/spring-jdbc/4.3.12.RELEASE/spring-jdbc-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.jar:/home/julia/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/home/julia/.m2/repository/org/springframework/data/spring-data-jpa/1.11.8.RELEASE/spring-data-jpa-1.11.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/data/spring-data-commons/1.13.8.RELEASE/spring-data-commons-1.13.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-orm/4.3.12.RELEASE/spring-orm-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-context/4.3.12.RELEASE/spring-context-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-tx/4.3.12.RELEASE/spring-tx-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/home/julia/.m2/repository/org/springframework/spring-aspects/4.3.12.RELEASE/spring-aspects-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar:/home/julia/.m2/repository/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final.jar:/home/julia/.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/julia/.m2/repository/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar:/home/julia/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/julia/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/home/julia/.m2/repository/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar:/home/julia/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/julia/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar:/home/julia/.m2/repository/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.5.8.RELEASE/spring-boot-starter-web-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.5.8.RELEASE/spring-boot-starter-tomcat-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.23/tomcat-embed-core-8.5.23.jar:/home/julia/.m2/repository/org/apache/tomcat/tomcat-annotations-api/8.5.23/tomcat-annotations-api-8.5.23.jar:/home/julia/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.23/tomcat-embed-el-8.5.23.jar:/home/julia/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.23/tomcat-embed-websocket-8.5.23.jar:/home/julia/.m2/repository/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar:/home/julia/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/julia/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/julia/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar:/home/julia/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/home/julia/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar:/home/julia/.m2/repository/org/springframework/spring-web/4.3.12.RELEASE/spring-web-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-webmvc/4.3.12.RELEASE/spring-webmvc-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-expression/4.3.12.RELEASE/spring-expression-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.5.8.RELEASE/spring-boot-starter-test-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-test/1.5.8.RELEASE/spring-boot-test-1.5.8.RELEASE.jar:/home/julia/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/1.5.8.RELEASE/spring-boot-test-autoconfigure-1.5.8.RELEASE.jar:/home/julia/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar:/home/julia/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar:/home/julia/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar:/home/julia/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/home/julia/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/julia/.m2/repository/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0.jar:/home/julia/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/home/julia/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/home/julia/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/julia/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/home/julia/.m2/repository/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0.jar:/home/julia/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar:/home/julia/.m2/repository/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE.jar:/home/julia/.m2/repository/org/springframework/spring-test/4.3.12.RELEASE/spring-test-4.3.12.RELEASE.jar:/home/julia/.m2/repository/com/querydsl/querydsl-jpa/4.1.4/querydsl-jpa-4.1.4.jar:/home/julia/.m2/repository/com/querydsl/querydsl-core/4.1.4/querydsl-core-4.1.4.jar:/home/julia/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/julia/.m2/repository/com/mysema/commons/mysema-commons-lang/0.2.4/mysema-commons-lang-0.2.4.jar:/home/julia/.m2/repository/com/infradna/tool/bridge-method-annotation/1.13/bridge-method-annotation-1.13.jar:/home/julia/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/home/julia/.m2/repository/com/querydsl/querydsl-apt/4.1.4/querydsl-apt-4.1.4.jar:/home/julia/.m2/repository/com/querydsl/querydsl-codegen/4.1.4/querydsl-codegen-4.1.4.jar:/home/julia/.m2/repository/com/mysema/codegen/codegen/0.6.8/codegen-0.6.8.jar:/home/julia/.m2/repository/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.jar:/home/julia/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/julia/.m2/repository/org/reflections/reflections/0.9.9/reflections-0.9.9.jar:/home/julia/.m2/repository/com/google/code/findbugs/annotations/2.0.1/annotations-2.0.1.jar:/home/julia/.m2/repository/javax/jdo/jdo-api/3.0.1/jdo-api-3.0.1.jar:/home/julia/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar:/home/julia/.m2/repository/com/mysema/maven/apt-maven-plugin/1.1.3/apt-maven-plugin-1.1.3.jar:/home/julia/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar:/home/julia/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar:/home/julia/.m2/repository/org/apache/maven/maven-plugin-api/2.2.0/maven-plugin-api-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-model/2.2.0/maven-model-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-project/2.2.0/maven-project-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-settings/2.2.0/maven-settings-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-profile/2.2.0/maven-profile-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-artifact-manager/2.2.0/maven-artifact-manager-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/maven-repository-metadata/2.2.0/maven-repository-metadata-2.2.0.jar:/home/julia/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.jar:/home/julia/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar:/home/julia/.m2/repository/org/apache/maven/maven-plugin-registry/2.2.0/maven-plugin-registry-2.2.0.jar:/home/julia/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar:/home/julia/.m2/repository/org/apache/maven/maven-artifact/2.2.0/maven-artifact-2.2.0.jar:/home/julia/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/home/julia/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/home/julia/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar:/home/julia/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/home/julia/Documents/salaIT/frontend/target/frontend-0.0.1-SNAPSHOT.jar:/home/julia/.m2/repository/org/mockito/mockito-all/1.10.19/mockito-all-1.10.19.jar:, user.name=julia, java.vm.specification.version=1.8, sun.java.command=/home/julia/Documents/salaIT/backend/target/surefire/surefirebooter6556173591445069027.jar /home/julia/Documents/salaIT/backend/target/surefire/surefire8354574910360501678tmp /home/julia/Documents/salaIT/backend/target/surefire/surefire_04673714443682898558tmp, java.home=/usr/local/java/jdk1.8.0_151/jre, sun.arch.data.model=64, user.language=en, java.specification.vendor=Oracle Corporation, awt.toolkit=sun.awt.X11.XToolkit, java.vm.info=mixed mode, java.version=1.8.0_151, java.ext.dirs=/usr/local/java/jdk1.8.0_151/jre/lib/ext:/usr/java/packages/lib/ext, sun.boot.class.path=/usr/local/java/jdk1.8.0_151/jre/lib/resources.jar:/usr/local/java/jdk1.8.0_151/jre/lib/rt.jar:/usr/local/java/jdk1.8.0_151/jre/lib/sunrsasign.jar:/usr/local/java/jdk1.8.0_151/jre/lib/jsse.jar:/usr/local/java/jdk1.8.0_151/jre/lib/jce.jar:/usr/local/java/jdk1.8.0_151/jre/lib/charsets.jar:/usr/local/java/jdk1.8.0_151/jre/lib/jfr.jar:/usr/local/java/jdk1.8.0_151/jre/classes, java.vendor=Oracle Corporation, localRepository=/home/julia/.m2/repository, file.separator=/, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.desktop=gnome, sun.cpu.isalist=}}, SystemEnvironmentPropertySource@1546908073 {name='systemEnvironment', properties={PATH=/usr/local/java/jdk1.8.0_151//bin:/home/julia/bin:/home/julia/.local/bin:/usr/local/java/jdk1.8.0_151//bin:/usr/local/java/jdk1.8.0_151//bin:/home/julia/bin:/home/julia/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, LC_MEASUREMENT=pl_PL.UTF-8, XAUTHORITY=/home/julia/.Xauthority, LC_TELEPHONE=pl_PL.UTF-8, XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/, GDMSESSION=cinnamon, MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path, DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jr8u7mG9rl,guid=e2b73639a85b7a91de3f74065a480060, DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path, XDG_CURRENT_DESKTOP=X-Cinnamon, INSIDE_NEMO_PYTHON=, SSH_AGENT_PID=1734, LD_LIBRARY_PATH=/home/julia/install/idea-IU-172.4574.11/bin:, LC_PAPER=pl_PL.UTF-8, SESSION_MANAGER=local/julia-ThinkPad-Edge-E540:@/tmp/.ICE-unix/1677,unix/julia-ThinkPad-Edge-E540:/tmp/.ICE-unix/1677, QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, LOGNAME=julia, PWD=/home/julia/Documents/salaIT/backend, LANGUAGE=en_US, WINDOWID=102760454, SHELL=/bin/bash, LESSOPEN=| /usr/bin/lesspipe %s, LC_ADDRESS=pl_PL.UTF-8, OLDPWD=/home/julia/Documents/salaIT/backend, GNOME_DESKTOP_SESSION_ID=this-is-deprecated, GTK_MODULES=gail:atk-bridge, XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:, XDG_SESSION_DESKTOP=cinnamon, SHLVL=2, LC_IDENTIFICATION=pl_PL.UTF-8, LESSCLOSE=/usr/bin/lesspipe %s %s, LC_MONETARY=pl_PL.UTF-8, JAVA_HOME=/usr/local/java/jdk1.8.0_151/, TERM=xterm-256color, XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=en_US.UTF-8, XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, XDG_SESSION_ID=c2, XDG_SESSION_TYPE=x11, DISPLAY=:0, QT_STYLE_OVERRIDE=gtk, LC_NAME=pl_PL.UTF-8, MAVEN_CMD_LINE_ARGS= clean install, _=/usr/bin/mvn, GDM_LANG=en_US, XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/julia, MAVEN_PROJECTBASEDIR=/home/julia/Documents/salaIT, DESKTOP_SESSION=cinnamon, USER=julia, VTE_VERSION=4205, QT_ACCESSIBILITY=1, LC_NUMERIC=pl_PL.UTF-8, SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, XDG_SEAT=seat0, GTK_OVERLAY_SCROLLING=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, QT_QPA_PLATFORMTHEME=qgnomeplatform, XDG_VTNR=7, XDG_RUNTIME_DIR=/run/user/1000, HOME=/home/julia}}]
222:54:16.847 [main] DEBUG org.springframework.core.env.MutablePropertySources - Adding PropertySource 'inline' with highest search precedence
322:54:16.852 [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}
422:54:16.852 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding PropertySource 'Inlined Test Properties' with highest search precedence
5
6 . ____ _ __ _ _
7 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
8( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
9 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
10 ' |____| .__|_| |_|_| |_\__, | / / / /
11 =========|_|==============|___/=/_/_/_/
12 :: Spring Boot :: (v1.5.8.RELEASE)
13
142017-12-30 22:54:17.131 INFO 4188 --- [ main] p.v.salaIT.SalaItApplicationTests : Starting SalaItApplicationTests on julia-ThinkPad-Edge-E540 with PID 4188 (started by julia in /home/julia/Documents/salaIT/backend)
152017-12-30 22:54:17.133 INFO 4188 --- [ main] p.v.salaIT.SalaItApplicationTests : No active profile set, falling back to default profiles: default
162017-12-30 22:54:17.193 INFO 4188 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6bd61f98: startup date [Sat Dec 30 22:54:17 CET 2017]; root of context hierarchy
172017-12-30 22:54:18.586 INFO 4188 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
18Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
19Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
20Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
21Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
22Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
23Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
24Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
25Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
26Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
27Sat Dec 30 22:54:19 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
282017-12-30 22:54:19.614 INFO 4188 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
292017-12-30 22:54:19.641 INFO 4188 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
30 name: default
31 ...]
322017-12-30 22:54:19.732 INFO 4188 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
332017-12-30 22:54:19.733 INFO 4188 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
342017-12-30 22:54:19.735 INFO 4188 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
352017-12-30 22:54:19.782 INFO 4188 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
362017-12-30 22:54:19.892 INFO 4188 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
372017-12-30 22:54:20.613 INFO 4188 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
382017-12-30 22:54:21.075 INFO 4188 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
392017-12-30 22:54:21.115 INFO 4188 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
402017-12-30 22:54:22.269 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@6bd61f98: startup date [Sat Dec 30 22:54:17 CET 2017]; root of context hierarchy
412017-12-30 22:54:22.408 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/address/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Address> pl.vavatech.salaIT.resource.AddressResource.getAll()
422017-12-30 22:54:22.409 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/address/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.AddressResource.addNewAddress(java.lang.Float,java.lang.Float,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer)
432017-12-30 22:54:22.411 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/reservation/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Reservation> pl.vavatech.salaIT.resource.ReservationResource.getAll()
442017-12-30 22:54:22.411 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/reservation/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.ReservationResource.addNewReservation(java.util.Date,java.util.Date)
452017-12-30 22:54:22.413 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Room> pl.vavatech.salaIT.resource.RoomResource.getAll()
462017-12-30 22:54:22.414 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/find],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Room> pl.vavatech.salaIT.resource.RoomResource.getByAllFilters(java.lang.Integer,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.Integer,java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double)
472017-12-30 22:54:22.414 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.RoomResource.addNewRoom(java.lang.Integer,java.lang.Boolean,java.lang.Boolean,pl.vavatech.salaIT.model.User,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,pl.vavatech.salaIT.model.Address,java.lang.Integer,byte[])
482017-12-30 22:54:22.416 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.User> pl.vavatech.salaIT.resource.UserResource.getAll()
492017-12-30 22:54:22.417 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.UserResource.addNewRoom(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
502017-12-30 22:54:22.419 INFO 4188 --- [ 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)
512017-12-30 22:54:22.420 INFO 4188 --- [ 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)
522017-12-30 22:54:22.473 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
532017-12-30 22:54:22.474 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
542017-12-30 22:54:22.534 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
552017-12-30 22:54:22.568 INFO 4188 --- [ main] oConfiguration$WelcomePageHandlerMapping : Adding welcome page: ServletContext resource [/index.html]
562017-12-30 22:54:22.885 INFO 4188 --- [ main] p.v.salaIT.SalaItApplicationTests : Started SalaItApplicationTests in 6.021 seconds (JVM running for 6.955)
57Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.211 sec - in pl.vavatech.salaIT.SalaItApplicationTests
58Running pl.vavatech.salaIT.resource.RoomResourceTest
592017-12-30 22:54:22.940 INFO 4188 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [pl.vavatech.salaIT.resource.RoomResourceTest], using SpringBootContextLoader
602017-12-30 22:54:22.941 INFO 4188 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [pl.vavatech.salaIT.resource.RoomResourceTest]: no resource found for suffixes {-context.xml, Context.groovy}.
612017-12-30 22:54:22.941 INFO 4188 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [pl.vavatech.salaIT.resource.RoomResourceTest]: RoomResourceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
622017-12-30 22:54:22.946 INFO 4188 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration pl.vavatech.salaIT.SalaItApplication for test class pl.vavatech.salaIT.resource.RoomResourceTest
632017-12-30 22:54:22.950 INFO 4188 --- [ main] .b.t.c.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]
642017-12-30 22:54:22.955 INFO 4188 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@c758a2d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@d0b814d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@6ce15112, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ba4f370, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2ba024cb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7af0d91b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1c7f6e96, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@30ec211a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1ac0cdb0, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6684f7f2, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@1682e6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@505d2bac]
65
66 . ____ _ __ _ _
67 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
68( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
69 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
70 ' |____| .__|_| |_|_| |_\__, | / / / /
71 =========|_|==============|___/=/_/_/_/
72 :: Spring Boot :: (v1.5.8.RELEASE)
73
742017-12-30 22:54:23.029 INFO 4188 --- [ main] p.v.salaIT.resource.RoomResourceTest : Starting RoomResourceTest on julia-ThinkPad-Edge-E540 with PID 4188 (started by julia in /home/julia/Documents/salaIT/backend)
752017-12-30 22:54:23.030 INFO 4188 --- [ main] p.v.salaIT.resource.RoomResourceTest : No active profile set, falling back to default profiles: default
762017-12-30 22:54:23.032 INFO 4188 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@46d1b59: startup date [Sat Dec 30 22:54:23 CET 2017]; root of context hierarchy
772017-12-30 22:54:23.305 INFO 4188 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
78Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
79Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
80Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
81Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
82Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
83Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
84Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
85Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
86Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
87Sat Dec 30 22:54:23 CET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
882017-12-30 22:54:23.656 INFO 4188 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
892017-12-30 22:54:23.657 INFO 4188 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
90 name: default
91 ...]
922017-12-30 22:54:23.664 INFO 4188 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
932017-12-30 22:54:23.741 INFO 4188 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
94Hibernate: alter table reservation drop foreign key FKm8xumi0g23038cw32oiva2ymw
95Hibernate: alter table reservation drop foreign key FKm4oimk0l1757o9pwavorj6ljg
96Hibernate: alter table room drop foreign key FK98b6qeo4s2wbfach8x3g84a3d
97Hibernate: alter table room drop foreign key FKj8a5tk6wghd3x2sxgksj2fv3o
98Hibernate: drop table if exists address
99Hibernate: drop table if exists reservation
100Hibernate: drop table if exists room
101Hibernate: drop table if exists user
102Hibernate: create table address (id integer not null auto_increment, apartment_number integer, city varchar(255) not null, house_number integer not null, latitude float not null, longitude float not null, street varchar(255) not null, primary key (id))
103Hibernate: create table reservation (id integer not null auto_increment, date_from DATETIME not null, date_to DATETIME not null, room_id integer, user_id integer, primary key (id))
104Hibernate: create table room (id integer not null auto_increment, capacity integer not null, facilities_for_the_disabled bit not null, is_air_conditioning bit not null, is_equipped bit not null, is_possibility_of_adding_equipment bit not null, price_per_hour integer not null, room_image mediumblob not null, room_number integer not null, wifi bit not null, address_id integer, user_id integer, primary key (id))
105Hibernate: create table user (id integer not null auto_increment, company_name varchar(255), login varchar(255) not null, name varchar(255) not null, password varchar(255) not null, phone_number varchar(255) not null, surname varchar(255) not null, primary key (id))
106Hibernate: alter table reservation add constraint FKm8xumi0g23038cw32oiva2ymw foreign key (room_id) references room (id)
107Hibernate: alter table reservation add constraint FKm4oimk0l1757o9pwavorj6ljg foreign key (user_id) references user (id)
108Hibernate: alter table room add constraint FK98b6qeo4s2wbfach8x3g84a3d foreign key (address_id) references address (id)
109Hibernate: alter table room add constraint FKj8a5tk6wghd3x2sxgksj2fv3o foreign key (user_id) references user (id)
1102017-12-30 22:54:24.184 INFO 4188 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
1112017-12-30 22:54:24.187 WARN 4188 --- [ main] o.h.j.i.EntityManagerFactoryRegistry : HHH000436: Entity manager factory name (default) is already registered. If entity manager will be clustered or passivated, specify a unique value for property 'hibernate.ejb.entitymanager_factory_name'
1122017-12-30 22:54:24.188 INFO 4188 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
1132017-12-30 22:54:24.644 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@46d1b59: startup date [Sat Dec 30 22:54:23 CET 2017]; root of context hierarchy
1142017-12-30 22:54:24.669 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/address/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Address> pl.vavatech.salaIT.resource.AddressResource.getAll()
1152017-12-30 22:54:24.670 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/address/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.AddressResource.addNewAddress(java.lang.Float,java.lang.Float,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer)
1162017-12-30 22:54:24.671 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/reservation/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Reservation> pl.vavatech.salaIT.resource.ReservationResource.getAll()
1172017-12-30 22:54:24.672 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/reservation/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.ReservationResource.addNewReservation(java.util.Date,java.util.Date)
1182017-12-30 22:54:24.677 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Room> pl.vavatech.salaIT.resource.RoomResource.getAll()
1192017-12-30 22:54:24.678 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/find],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.Room> pl.vavatech.salaIT.resource.RoomResource.getByAllFilters(java.lang.Integer,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,java.lang.Integer,java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double)
1202017-12-30 22:54:24.679 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/room/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.RoomResource.addNewRoom(java.lang.Integer,java.lang.Boolean,java.lang.Boolean,pl.vavatech.salaIT.model.User,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Integer,pl.vavatech.salaIT.model.Address,java.lang.Integer,byte[])
1212017-12-30 22:54:24.681 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/all],methods=[GET]}" onto public java.lang.Iterable<pl.vavatech.salaIT.model.User> pl.vavatech.salaIT.resource.UserResource.getAll()
1222017-12-30 22:54:24.682 INFO 4188 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/add],methods=[GET]}" onto public java.lang.String pl.vavatech.salaIT.resource.UserResource.addNewRoom(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
1232017-12-30 22:54:24.685 INFO 4188 --- [ 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)
1242017-12-30 22:54:24.686 INFO 4188 --- [ 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)
1252017-12-30 22:54:24.730 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
1262017-12-30 22:54:24.730 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
1272017-12-30 22:54:24.773 INFO 4188 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
1282017-12-30 22:54:24.796 INFO 4188 --- [ main] oConfiguration$WelcomePageHandlerMapping : Adding welcome page: ServletContext resource [/index.html]
1292017-12-30 22:54:25.040 INFO 4188 --- [ main] p.v.salaIT.resource.RoomResourceTest : Started RoomResourceTest in 2.072 seconds (JVM running for 9.11)
1302017-12-30 22:54:25.068 INFO 4188 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from class path resource [beforeRoomResourceTest.sql]
1312017-12-30 22:54:25.082 WARN 4188 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7af0d91b] to process 'before' execution of test method [public void pl.vavatech.salaIT.resource.RoomResourceTest.testStartupData() throws java.lang.Exception] for test instance [pl.vavatech.salaIT.resource.RoomResourceTest@76220ef1]
132
133org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
134 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
135 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
136 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
137 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
138 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
139 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
140 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
141 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
142 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
143 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
144 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
145 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
146 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
147 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
148 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
149 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
150 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
151 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
152 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
153 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
154 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
155 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
156 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
157 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
158 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
159 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
160 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) [surefire-junit4-2.18.1.jar:2.18.1]
161 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) [surefire-junit4-2.18.1.jar:2.18.1]
162 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.18.1.jar:2.18.1]
163 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) [surefire-junit4-2.18.1.jar:2.18.1]
164 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [surefire-booter-2.18.1.jar:2.18.1]
165 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [surefire-booter-2.18.1.jar:2.18.1]
166 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.18.1.jar:2.18.1]
167Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
168 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_151]
169 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_151]
170 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_151]
171 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_151]
172 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.44.jar:5.1.44]
173 at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.44.jar:5.1.44]
174 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943) ~[mysql-connector-java-5.1.44.jar:5.1.44]
175 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) ~[mysql-connector-java-5.1.44.jar:5.1.44]
176 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) ~[mysql-connector-java-5.1.44.jar:5.1.44]
177 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527) ~[mysql-connector-java-5.1.44.jar:5.1.44]
178 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680) ~[mysql-connector-java-5.1.44.jar:5.1.44]
179 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483) ~[mysql-connector-java-5.1.44.jar:5.1.44]
180 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441) ~[mysql-connector-java-5.1.44.jar:5.1.44]
181 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845) ~[mysql-connector-java-5.1.44.jar:5.1.44]
182 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745) ~[mysql-connector-java-5.1.44.jar:5.1.44]
183 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
184 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
185 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
186 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
187 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) ~[tomcat-jdbc-8.5.23.jar:na]
188 at com.sun.proxy.$Proxy94.execute(Unknown Source) ~[na:na]
189 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
190 ... 32 common frames omitted
191
1922017-12-30 22:54:25.092 INFO 4188 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from class path resource [afterRoomResourceTest.sql]
1932017-12-30 22:54:25.101 WARN 4188 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7af0d91b] to process 'after' execution for test: method [public void pl.vavatech.salaIT.resource.RoomResourceTest.testStartupData() throws java.lang.Exception], instance [pl.vavatech.salaIT.resource.RoomResourceTest@76220ef1], exception [org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist]
194
195org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #2 of class path resource [afterRoomResourceTest.sql]: TRUNCATE TABLE `salait_test`.`address`; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
196 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
197 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
198 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
199 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
200 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
201 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
202 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
203 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
204 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
205 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
206 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
207 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
208 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
209 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
210 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
211 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
212 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
213 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
214 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
215 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
216 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
217 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
218 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
219 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
220 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
221 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) [surefire-junit4-2.18.1.jar:2.18.1]
222 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) [surefire-junit4-2.18.1.jar:2.18.1]
223 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.18.1.jar:2.18.1]
224 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) [surefire-junit4-2.18.1.jar:2.18.1]
225 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [surefire-booter-2.18.1.jar:2.18.1]
226 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [surefire-booter-2.18.1.jar:2.18.1]
227 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.18.1.jar:2.18.1]
228Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
229 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_151]
230 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_151]
231 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_151]
232 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_151]
233 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.44.jar:5.1.44]
234 at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.44.jar:5.1.44]
235 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943) ~[mysql-connector-java-5.1.44.jar:5.1.44]
236 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) ~[mysql-connector-java-5.1.44.jar:5.1.44]
237 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) ~[mysql-connector-java-5.1.44.jar:5.1.44]
238 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527) ~[mysql-connector-java-5.1.44.jar:5.1.44]
239 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680) ~[mysql-connector-java-5.1.44.jar:5.1.44]
240 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483) ~[mysql-connector-java-5.1.44.jar:5.1.44]
241 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441) ~[mysql-connector-java-5.1.44.jar:5.1.44]
242 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845) ~[mysql-connector-java-5.1.44.jar:5.1.44]
243 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745) ~[mysql-connector-java-5.1.44.jar:5.1.44]
244 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
245 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
246 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
247 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
248 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) ~[tomcat-jdbc-8.5.23.jar:na]
249 at com.sun.proxy.$Proxy94.execute(Unknown Source) ~[na:na]
250 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
251 ... 31 common frames omitted
252
2532017-12-30 22:54:25.124 INFO 4188 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from class path resource [beforeRoomResourceTest.sql]
2542017-12-30 22:54:25.134 WARN 4188 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7af0d91b] to process 'before' execution of test method [public void pl.vavatech.salaIT.resource.RoomResourceTest.testRoomFiltering() throws java.lang.Exception] for test instance [pl.vavatech.salaIT.resource.RoomResourceTest@2ca1e49a]
255
256org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
257 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
258 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
259 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
260 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
261 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
262 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
263 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
264 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
265 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
266 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
267 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
268 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
269 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
270 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
271 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
272 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
273 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
274 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
275 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
276 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
277 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
278 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
279 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
280 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
281 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
282 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
283 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) [surefire-junit4-2.18.1.jar:2.18.1]
284 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) [surefire-junit4-2.18.1.jar:2.18.1]
285 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.18.1.jar:2.18.1]
286 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) [surefire-junit4-2.18.1.jar:2.18.1]
287 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [surefire-booter-2.18.1.jar:2.18.1]
288 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [surefire-booter-2.18.1.jar:2.18.1]
289 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.18.1.jar:2.18.1]
290Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
291 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_151]
292 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_151]
293 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_151]
294 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_151]
295 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.44.jar:5.1.44]
296 at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.44.jar:5.1.44]
297 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943) ~[mysql-connector-java-5.1.44.jar:5.1.44]
298 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) ~[mysql-connector-java-5.1.44.jar:5.1.44]
299 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) ~[mysql-connector-java-5.1.44.jar:5.1.44]
300 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527) ~[mysql-connector-java-5.1.44.jar:5.1.44]
301 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680) ~[mysql-connector-java-5.1.44.jar:5.1.44]
302 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483) ~[mysql-connector-java-5.1.44.jar:5.1.44]
303 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441) ~[mysql-connector-java-5.1.44.jar:5.1.44]
304 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845) ~[mysql-connector-java-5.1.44.jar:5.1.44]
305 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745) ~[mysql-connector-java-5.1.44.jar:5.1.44]
306 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
307 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
308 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
309 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
310 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) ~[tomcat-jdbc-8.5.23.jar:na]
311 at com.sun.proxy.$Proxy94.execute(Unknown Source) ~[na:na]
312 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
313 ... 32 common frames omitted
314
3152017-12-30 22:54:25.144 INFO 4188 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from class path resource [afterRoomResourceTest.sql]
3162017-12-30 22:54:25.153 WARN 4188 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7af0d91b] to process 'after' execution for test: method [public void pl.vavatech.salaIT.resource.RoomResourceTest.testRoomFiltering() throws java.lang.Exception], instance [pl.vavatech.salaIT.resource.RoomResourceTest@2ca1e49a], exception [org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist]
317
318org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #2 of class path resource [afterRoomResourceTest.sql]: TRUNCATE TABLE `salait_test`.`address`; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
319 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
320 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
321 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
322 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
323 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
324 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
325 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
326 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
327 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
328 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
329 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319) ~[spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
330 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
331 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
332 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
333 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
334 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
335 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
336 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
337 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
338 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
339 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
340 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
341 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
342 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
343 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) [spring-test-4.3.12.RELEASE.jar:4.3.12.RELEASE]
344 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) [surefire-junit4-2.18.1.jar:2.18.1]
345 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) [surefire-junit4-2.18.1.jar:2.18.1]
346 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.18.1.jar:2.18.1]
347 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) [surefire-junit4-2.18.1.jar:2.18.1]
348 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) [surefire-booter-2.18.1.jar:2.18.1]
349 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) [surefire-booter-2.18.1.jar:2.18.1]
350 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.18.1.jar:2.18.1]
351Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
352 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_151]
353 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_151]
354 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_151]
355 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_151]
356 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.44.jar:5.1.44]
357 at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.44.jar:5.1.44]
358 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943) ~[mysql-connector-java-5.1.44.jar:5.1.44]
359 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) ~[mysql-connector-java-5.1.44.jar:5.1.44]
360 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) ~[mysql-connector-java-5.1.44.jar:5.1.44]
361 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527) ~[mysql-connector-java-5.1.44.jar:5.1.44]
362 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680) ~[mysql-connector-java-5.1.44.jar:5.1.44]
363 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483) ~[mysql-connector-java-5.1.44.jar:5.1.44]
364 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441) ~[mysql-connector-java-5.1.44.jar:5.1.44]
365 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845) ~[mysql-connector-java-5.1.44.jar:5.1.44]
366 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745) ~[mysql-connector-java-5.1.44.jar:5.1.44]
367 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
368 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
369 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
370 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
371 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) ~[tomcat-jdbc-8.5.23.jar:na]
372 at com.sun.proxy.$Proxy94.execute(Unknown Source) ~[na:na]
373 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470) ~[spring-jdbc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
374 ... 31 common frames omitted
375
376Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 2.176 sec <<< FAILURE! - in pl.vavatech.salaIT.resource.RoomResourceTest
377testStartupData(pl.vavatech.salaIT.resource.RoomResourceTest) Time elapsed: 0.071 sec <<< ERROR!
378org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
379 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491)
380 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
381 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
382 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
383 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
384 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
385 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
386 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
387 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
388 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112)
389 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269)
390 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
391 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
392 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
393 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
394 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
395 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
396 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
397 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
398 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
399 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
400 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
401 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
402 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
403 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
404 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
405 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
406 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
407 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
408 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
409 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
410 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
411 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
412Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
413 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
414 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
415 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
416 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
417 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
418 at com.mysql.jdbc.Util.getInstance(Util.java:408)
419 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
420 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
421 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
422 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
423 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
424 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
425 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441)
426 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
427 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
428 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
429 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
430 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
431 at java.lang.reflect.Method.invoke(Method.java:498)
432 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
433 at com.sun.proxy.$Proxy94.execute(Unknown Source)
434 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470)
435 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
436 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
437 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
438 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
439 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
440 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
441 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
442 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
443 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112)
444 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269)
445 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
446 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
447 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
448 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
449 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
450 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
451 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
452 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
453 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
454 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
455 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
456 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
457 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
458 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
459 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
460 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
461 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
462 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
463 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
464 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
465 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
466 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
467
468testStartupData(pl.vavatech.salaIT.resource.RoomResourceTest) Time elapsed: 0.073 sec <<< ERROR!
469org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #2 of class path resource [afterRoomResourceTest.sql]: TRUNCATE TABLE `salait_test`.`address`; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
470 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491)
471 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
472 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
473 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
474 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
475 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
476 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
477 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
478 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
479 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121)
480 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319)
481 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94)
482 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
483 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
484 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
485 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
486 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
487 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
488 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
489 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
490 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
491 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
492 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
493 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
494 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
495 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
496 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
497 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
498 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
499 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
500 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
501 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
502Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
503 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
504 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
505 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
506 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
507 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
508 at com.mysql.jdbc.Util.getInstance(Util.java:408)
509 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
510 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
511 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
512 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
513 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
514 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
515 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441)
516 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
517 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
518 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
519 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
520 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
521 at java.lang.reflect.Method.invoke(Method.java:498)
522 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
523 at com.sun.proxy.$Proxy94.execute(Unknown Source)
524 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470)
525 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
526 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
527 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
528 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
529 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
530 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
531 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
532 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
533 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121)
534 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319)
535 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94)
536 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
537 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
538 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
539 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
540 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
541 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
542 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
543 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
544 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
545 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
546 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
547 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
548 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
549 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
550 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
551 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
552 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
553 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
554 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
555 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
556
557testRoomFiltering(pl.vavatech.salaIT.resource.RoomResourceTest) Time elapsed: 0.039 sec <<< ERROR!
558org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [beforeRoomResourceTest.sql]: INSERT INTO `salait_test`.`user` (`id`, `company_name`, `login`, `name`, `password`, `phone_number`, `surname`) VALUES (1, 'test', 'test', 'test', 'test', '999999999', 'test'); nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
559 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491)
560 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
561 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
562 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
563 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
564 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
565 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
566 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
567 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
568 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112)
569 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269)
570 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
571 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
572 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
573 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
574 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
575 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
576 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
577 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
578 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
579 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
580 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
581 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
582 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
583 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
584 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
585 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
586 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
587 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
588 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
589 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
590 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
591 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
592Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.user' doesn't exist
593 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
594 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
595 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
596 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
597 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
598 at com.mysql.jdbc.Util.getInstance(Util.java:408)
599 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
600 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
601 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
602 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
603 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
604 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
605 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441)
606 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
607 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
608 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
609 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
610 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
611 at java.lang.reflect.Method.invoke(Method.java:498)
612 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
613 at com.sun.proxy.$Proxy94.execute(Unknown Source)
614 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470)
615 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
616 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
617 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
618 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
619 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
620 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
621 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
622 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
623 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.beforeTestMethod(SqlScriptsTestExecutionListener.java:112)
624 at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269)
625 at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
626 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
627 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
628 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
629 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
630 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
631 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
632 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
633 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
634 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
635 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
636 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
637 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
638 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
639 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
640 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
641 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
642 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
643 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
644 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
645 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
646 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
647
648testRoomFiltering(pl.vavatech.salaIT.resource.RoomResourceTest) Time elapsed: 0.041 sec <<< ERROR!
649org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #2 of class path resource [afterRoomResourceTest.sql]: TRUNCATE TABLE `salait_test`.`address`; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
650 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:491)
651 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
652 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
653 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
654 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
655 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
656 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
657 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
658 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
659 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121)
660 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319)
661 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94)
662 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
663 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
664 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
665 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
666 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
667 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
668 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
669 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
670 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
671 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
672 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
673 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
674 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
675 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
676 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
677 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
678 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
679 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
680 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
681 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
682Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'salait_test.address' doesn't exist
683 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
684 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
685 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
686 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
687 at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
688 at com.mysql.jdbc.Util.getInstance(Util.java:408)
689 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
690 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
691 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
692 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
693 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
694 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
695 at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441)
696 at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
697 at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
698 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
699 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
700 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
701 at java.lang.reflect.Method.invoke(Method.java:498)
702 at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
703 at com.sun.proxy.$Proxy94.execute(Unknown Source)
704 at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:470)
705 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.populate(ResourceDatabasePopulator.java:238)
706 at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:48)
707 at org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.execute(ResourceDatabasePopulator.java:253)
708 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener$1.doInTransactionWithoutResult(SqlScriptsTestExecutionListener.java:237)
709 at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
710 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
711 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:234)
712 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.executeSqlScripts(SqlScriptsTestExecutionListener.java:142)
713 at org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener.afterTestMethod(SqlScriptsTestExecutionListener.java:121)
714 at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:319)
715 at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:94)
716 at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
717 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
718 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
719 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
720 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
721 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
722 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
723 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
724 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
725 at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
726 at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
727 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
728 at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
729 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
730 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
731 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
732 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
733 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
734 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
735 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
736
7372017-12-30 22:54:25.216 INFO 4188 --- [ Thread-5] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@46d1b59: startup date [Sat Dec 30 22:54:23 CET 2017]; root of context hierarchy
7382017-12-30 22:54:25.224 INFO 4188 --- [ Thread-5] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
7392017-12-30 22:54:25.231 INFO 4188 --- [ Thread-3] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@6bd61f98: startup date [Sat Dec 30 22:54:17 CET 2017]; root of context hierarchy
7402017-12-30 22:54:25.234 INFO 4188 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
741
742Results :
743
744Tests in error:
745pl.vavatech.salaIT.resource.RoomResourceTest.testRoomFiltering(pl.vavatech.salaIT.resource.RoomResourceTest)
746 Run 1: RoomResourceTest.testRoomFiltering » ScriptStatementFailed Failed to execute S...
747 Run 2: RoomResourceTest.testRoomFiltering » ScriptStatementFailed Failed to execute S...
748
749pl.vavatech.salaIT.resource.RoomResourceTest.testStartupData(pl.vavatech.salaIT.resource.RoomResourceTest)
750 Run 1: RoomResourceTest.testStartupData » ScriptStatementFailed Failed to execute SQL...
751 Run 2: RoomResourceTest.testStartupData » ScriptStatementFailed Failed to execute SQL...
752
753
754Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
755
756[INFO] ------------------------------------------------------------------------
757[INFO] Reactor Summary:
758[INFO]
759[INFO] parent ............................................. SUCCESS [ 0.327 s]
760[INFO] frontend ........................................... SUCCESS [ 32.112 s]
761[INFO] backend ............................................ FAILURE [ 11.619 s]
762[INFO] ------------------------------------------------------------------------
763[INFO] BUILD FAILURE
764[INFO] ------------------------------------------------------------------------
765[INFO] Total time: 44.575 s
766[INFO] Finished at: 2017-12-30T22:54:25+01:00
767[INFO] Final Memory: 40M/259M
768[INFO] ------------------------------------------------------------------------
769[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project backend: There are test failures.
770[ERROR]
771[ERROR] Please refer to /home/julia/Documents/salaIT/backend/target/surefire-reports for the individual test results.
772[ERROR] -> [Help 1]
773[ERROR]
774[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
775[ERROR] Re-run Maven using the -X switch to enable full debug logging.
776[ERROR]
777[ERROR] For more information about the errors and possible solutions, please read the following articles:
778[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
779[ERROR]
780[ERROR] After correcting the problems, you can resume the build with the command
781[ERROR] mvn <goals> -rf :backend