Skip to content

Instantly share code, notes, and snippets.

@Lodo4ka
Created November 19, 2017 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lodo4ka/f73ae9d156f0b7508958dfb0c14fe7f2 to your computer and use it in GitHub Desktop.
Save Lodo4ka/f73ae9d156f0b7508958dfb0c14fe7f2 to your computer and use it in GitHub Desktop.
/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=57699 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=57700:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/tools.jar:/Users/lodo4ka/Desktop/Github/hornsandhooves/target/classes:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/1.5.8.RELEASE/spring-boot-starter-data-jpa-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter/1.5.8.RELEASE/spring-boot-starter-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.5.8.RELEASE/spring-boot-starter-logging-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/Users/lodo4ka/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/Users/lodo4ka/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/lodo4ka/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/lodo4ka/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.5.8.RELEASE/spring-boot-starter-aop-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-aop/4.3.12.RELEASE/spring-aop-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/aspectj/aspectjweaver/1.8.11/aspectjweaver-1.8.11.jar:/Users/lodo4ka/.m2/repository/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar:/Users/lodo4ka/.m2/repository/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final.jar:/Users/lodo4ka/.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:/Users/lodo4ka/.m2/repository/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar:/Users/lodo4ka/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/lodo4ka/.m2/repository/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar:/Users/lodo4ka/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/lodo4ka/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar:/Users/lodo4ka/.m2/repository/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.jar:/Users/lodo4ka/.m2/repository/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar:/Users/lodo4ka/.m2/repository/org/springframework/data/spring-data-jpa/1.11.8.RELEASE/spring-data-jpa-1.11.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/data/spring-data-commons/1.13.8.RELEASE/spring-data-commons-1.13.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-orm/4.3.12.RELEASE/spring-orm-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-context/4.3.12.RELEASE/spring-context-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-tx/4.3.12.RELEASE/spring-tx-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/lodo4ka/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-aspects/4.3.12.RELEASE/spring-aspects-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-thymeleaf/1.5.8.RELEASE/spring-boot-starter-thymeleaf-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/thymeleaf/thymeleaf-spring4/2.1.5.RELEASE/thymeleaf-spring4-2.1.5.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/thymeleaf/thymeleaf/2.1.5.RELEASE/thymeleaf-2.1.5.RELEASE.jar:/Users/lodo4ka/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar:/Users/lodo4ka/.m2/repository/org/unbescape/unbescape/1.1.0.RELEASE/unbescape-1.1.0.RELEASE.jar:/Users/lodo4ka/.m2/repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/1.4.0/thymeleaf-layout-dialect-1.4.0.jar:/Users/lodo4ka/.m2/repository/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/1.5.8.RELEASE/spring-boot-starter-jdbc-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/tomcat-jdbc/8.5.23/tomcat-jdbc-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/tomcat-juli/8.5.23/tomcat-juli-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-jdbc/4.3.12.RELEASE/spring-jdbc-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.5.8.RELEASE/spring-boot-starter-web-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.5.8.RELEASE/spring-boot-starter-tomcat-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.23/tomcat-embed-core-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/tomcat-annotations-api/8.5.23/tomcat-annotations-api-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.23/tomcat-embed-el-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.23/tomcat-embed-websocket-8.5.23.jar:/Users/lodo4ka/.m2/repository/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar:/Users/lodo4ka/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/lodo4ka/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/Users/lodo4ka/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar:/Users/lodo4ka/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/Users/lodo4ka/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-web/4.3.12.RELEASE/spring-web-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-webmvc/4.3.12.RELEASE/spring-webmvc-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-expression/4.3.12.RELEASE/spring-expression-4.3.12.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-devtools/1.5.8.RELEASE/spring-boot-devtools-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot/1.5.8.RELEASE/spring-boot-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.5.8.RELEASE/spring-boot-autoconfigure-1.5.8.RELEASE.jar:/Users/lodo4ka/.m2/repository/com/h2database/h2/1.4.196/h2-1.4.196.jar:/Users/lodo4ka/.m2/repository/org/postgresql/postgresql/9.4.1212.jre7/postgresql-9.4.1212.jre7.jar:/Users/lodo4ka/.m2/repository/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE.jar com.testbackfortheinterview.interview.InterviewApplication
23:00:53.917 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
23:00:53.922 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]
23:00:53.922 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/Users/lodo4ka/Desktop/Github/hornsandhooves/target/classes/]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.8.RELEASE)
2017-11-19 23:00:54.303 INFO 4041 --- [ restartedMain] c.t.interview.InterviewApplication : Starting InterviewApplication on Novikovs-MacBook-Pro.local with PID 4041 (/Users/lodo4ka/Desktop/Github/hornsandhooves/target/classes started by lodo4ka in /Users/lodo4ka/Desktop/Github/hornsandhooves)
2017-11-19 23:00:54.305 INFO 4041 --- [ restartedMain] c.t.interview.InterviewApplication : No active profile set, falling back to default profiles: default
2017-11-19 23:00:54.747 INFO 4041 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@131130bf: startup date [Sun Nov 19 23:00:54 MSK 2017]; root of context hierarchy
2017-11-19 23:00:57.282 INFO 4041 --- [ restartedMain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2017-11-19 23:00:57.290 INFO 4041 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2017-11-19 23:00:57.292 INFO 4041 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
2017-11-19 23:00:57.370 INFO 4041 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2017-11-19 23:00:57.371 INFO 4041 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2628 ms
2017-11-19 23:00:57.523 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2017-11-19 23:00:57.525 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'webServlet' to [/h2-console/*]
2017-11-19 23:00:57.528 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2017-11-19 23:00:57.528 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2017-11-19 23:00:57.528 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2017-11-19 23:00:57.528 INFO 4041 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2017-11-19 23:00:57.986 INFO 4041 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-11-19 23:00:57.999 INFO 4041 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-11-19 23:00:58.076 INFO 4041 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2017-11-19 23:00:58.077 INFO 4041 --- [ restartedMain] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2017-11-19 23:00:58.078 INFO 4041 --- [ restartedMain] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2017-11-19 23:00:58.120 INFO 4041 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-11-19 23:00:58.340 INFO 4041 --- [ restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
2017-11-19 23:00:58.524 INFO 4041 --- [ restartedMain] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2017-11-19 23:00:58.526 INFO 4041 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@6627a963
2017-11-19 23:00:58.892 WARN 4041 --- [ restartedMain] org.hibernate.orm.deprecation : HHH90000014: Found use of deprecated [org.hibernate.id.SequenceGenerator] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details.
2017-11-19 23:00:58.896 WARN 4041 --- [ restartedMain] org.hibernate.orm.deprecation : HHH90000014: Found use of deprecated [org.hibernate.id.SequenceGenerator] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details.
2017-11-19 23:00:58.896 WARN 4041 --- [ restartedMain] org.hibernate.orm.deprecation : HHH90000014: Found use of deprecated [org.hibernate.id.SequenceGenerator] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details.
2017-11-19 23:00:58.897 WARN 4041 --- [ restartedMain] org.hibernate.orm.deprecation : HHH90000014: Found use of deprecated [org.hibernate.id.SequenceGenerator] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details.
2017-11-19 23:00:59.274 INFO 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
Hibernate: alter table furniture drop constraint FKgda91k7fhldpas0i3rs6sfaag
Hibernate: alter table master drop constraint FKoh7x14i1mvugygnrqu5yk7s07
Hibernate: alter table order drop constraint FKh98x3wbhu75v79xjygchqao37
2017-11-19 23:00:59.287 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table order drop constraint FKh98x3wbhu75v79xjygchqao37
2017-11-19 23:00:59.287 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 13
Hibernate: alter table order drop constraint FKc4c8cobdpr2g3rfo13o246pa4
2017-11-19 23:00:59.288 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table order drop constraint FKc4c8cobdpr2g3rfo13o246pa4
2017-11-19 23:00:59.289 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 13
Hibernate: drop table if exists department cascade
Hibernate: drop table if exists furniture cascade
Hibernate: drop table if exists master cascade
Hibernate: drop table if exists order cascade
2017-11-19 23:00:59.302 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: drop table if exists order cascade
2017-11-19 23:00:59.302 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 22
Hibernate: drop sequence hibernate_sequence
Hibernate: create sequence hibernate_sequence start 1 increment 1
Hibernate: create table department (id int8 not null, department int4, name varchar(255) not null, primary key (id))
Hibernate: create table furniture (id int8 not null, name varchar(255) not null, typeof_furniture int4, department_id int8 not null, primary key (id))
Hibernate: create table master (id int8 not null, firtst_name varchar(255) not null, last_name varchar(255) not null, department_id int8 not null, primary key (id))
Hibernate: create table order (id int8 not null, create_date_time timestamp, is_complete boolean not null, name varchar(255) not null, typeof_furniture int4, work_period timestamp, department_id int8 not null, master_id int8 not null, primary key (id))
2017-11-19 23:00:59.318 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: create table order (id int8 not null, create_date_time timestamp, is_complete boolean not null, name varchar(255) not null, typeof_furniture int4, work_period timestamp, department_id int8 not null, master_id int8 not null, primary key (id))
2017-11-19 23:00:59.318 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 14
Hibernate: alter table department add constraint UK_1t68827l97cwyxo9r1u6t4p7d unique (name)
Hibernate: alter table furniture add constraint UK_7oijxagnf4h12851hv7043e8o unique (name)
Hibernate: alter table master add constraint UK_js8eskqv9bm1nnkn3n34024tt unique (firtst_name)
Hibernate: alter table master add constraint UK_55jwqfte5eqdnw1ljpw9ngo68 unique (last_name)
Hibernate: alter table order add constraint UK_10lsj08qxhko2i28rs39mlv9s unique (name)
2017-11-19 23:00:59.329 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table order add constraint UK_10lsj08qxhko2i28rs39mlv9s unique (name)
2017-11-19 23:00:59.329 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 13
Hibernate: alter table furniture add constraint FKgda91k7fhldpas0i3rs6sfaag foreign key (department_id) references department
Hibernate: alter table master add constraint FKoh7x14i1mvugygnrqu5yk7s07 foreign key (department_id) references department
Hibernate: alter table order add constraint FKh98x3wbhu75v79xjygchqao37 foreign key (department_id) references department
2017-11-19 23:00:59.337 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table order add constraint FKh98x3wbhu75v79xjygchqao37 foreign key (department_id) references department
2017-11-19 23:00:59.337 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 13
Hibernate: alter table order add constraint FKc4c8cobdpr2g3rfo13o246pa4 foreign key (master_id) references master
2017-11-19 23:00:59.338 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table order add constraint FKc4c8cobdpr2g3rfo13o246pa4 foreign key (master_id) references master
2017-11-19 23:00:59.338 ERROR 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : ERROR: syntax error at or near "order"
Position: 13
2017-11-19 23:00:59.338 INFO 4041 --- [ restartedMain] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
2017-11-19 23:00:59.373 INFO 4041 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2017-11-19 23:01:00.179 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@131130bf: startup date [Sun Nov 19 23:00:54 MSK 2017]; root of context hierarchy
2017-11-19 23:01:00.320 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/orderAllDeraprtment/{id}],methods=[GET]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.DerartmentRest.getAllOrderByDepartment(java.lang.Long)
2017-11-19 23:01:00.321 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order/furniture/{name}]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.FurnitureRest.create(java.lang.String)
2017-11-19 23:01:00.322 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/masters/{masterName}/alias/{aliasMasterName}],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.MasterRest.delete(java.lang.String,java.lang.String)
2017-11-19 23:01:00.322 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/master/{id}/listOrders],methods=[GET]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.MasterRest.getAllOrderByMaster(java.lang.Long)
2017-11-19 23:01:00.324 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order],methods=[POST]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.OrderRest.create(com.testbackfortheinterview.interview.entity.Order)
2017-11-19 23:01:00.324 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order/listOrder],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.util.List<com.testbackfortheinterview.interview.entity.Order>> com.testbackfortheinterview.interview.restcontroller.OrderRest.getAllOrder()
2017-11-19 23:01:00.325 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order/notCompleteList],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.util.List<com.testbackfortheinterview.interview.entity.Order>> com.testbackfortheinterview.interview.restcontroller.OrderRest.getNotCompleteOrder()
2017-11-19 23:01:00.325 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order/days],methods=[GET]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.OrderRest.getPeriodEndDays()
2017-11-19 23:01:00.325 INFO 4041 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/order/hours],methods=[GET]}" onto public org.springframework.http.ResponseEntity com.testbackfortheinterview.interview.restcontroller.OrderRest.getPeriodEndHours()
2017-11-19 23:01:00.327 INFO 4041 --- [ restartedMain] 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)
2017-11-19 23:01:00.328 INFO 4041 --- [ restartedMain] 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)
2017-11-19 23:01:00.376 INFO 4041 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-11-19 23:01:00.376 INFO 4041 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-11-19 23:01:00.455 INFO 4041 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-11-19 23:01:00.527 WARN 4041 --- [ restartedMain] .t.AbstractTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2017-11-19 23:01:01.105 INFO 4041 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2017-11-19 23:01:01.205 INFO 4041 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2017-11-19 23:01:01.337 INFO 4041 --- [ restartedMain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2017-11-19 23:01:01.349 INFO 4041 --- [ restartedMain] c.t.interview.InterviewApplication : Started InterviewApplication in 7.411 seconds (JVM running for 8.691)
2017-11-19 23:01:49.967 INFO 4041 --- [ Thread-10] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@131130bf: startup date [Sun Nov 19 23:00:54 MSK 2017]; root of context hierarchy
2017-11-19 23:01:49.972 INFO 4041 --- [ Thread-10] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
2017-11-19 23:01:49.976 INFO 4041 --- [ Thread-10] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Process finished with exit code 130 (interrupted by signal 2: SIGINT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment