· 8 years ago · Dec 11, 2017, 12:02 PM
1
2 . ____ _ __ _ _
3 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
4( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
5 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
6 ' |____| .__|_| |_|_| |_\__, | / / / /
7 =========|_|==============|___/=/_/_/_/
8 :: Spring Boot :: (v1.5.9.RELEASE)
9
102017-12-11 08:59:43.175 INFO 4448 --- [ main] com.trabalho.apirest.ApirestApplication : Starting ApirestApplication on EDUARDO-BOOK with PID 4448 (C:\Users\Eduardo\Documents\workspace-sts-3.9.1.RELEASE\apirest\target\classes started by Eduardo in C:\Users\Eduardo\Documents\workspace-sts-3.9.1.RELEASE\apirest)
112017-12-11 08:59:43.178 INFO 4448 --- [ main] com.trabalho.apirest.ApirestApplication : No active profile set, falling back to default profiles: default
122017-12-11 08:59:43.309 INFO 4448 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@275710fc: startup date [Mon Dec 11 08:59:43 GFT 2017]; root of context hierarchy
132017-12-11 08:59:44.504 INFO 4448 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
142017-12-11 08:59:44.592 INFO 4448 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
152017-12-11 08:59:44.615 INFO 4448 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data Solr - Could not safely identify store assignment for repository candidate interface com.trabalho.apirest.BookingRepository.
162017-12-11 08:59:44.618 INFO 4448 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data Solr - Could not safely identify store assignment for repository candidate interface com.trabalho.apirest.OrderRepository.
172017-12-11 08:59:46.242 INFO 4448 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
182017-12-11 08:59:46.267 INFO 4448 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
192017-12-11 08:59:46.269 INFO 4448 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
202017-12-11 08:59:46.447 INFO 4448 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
212017-12-11 08:59:46.447 INFO 4448 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3144 ms
222017-12-11 08:59:46.778 INFO 4448 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
232017-12-11 08:59:46.791 INFO 4448 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
242017-12-11 08:59:46.793 INFO 4448 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
252017-12-11 08:59:46.794 INFO 4448 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
262017-12-11 08:59:46.794 INFO 4448 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
272017-12-11 08:59:47.543 INFO 4448 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
282017-12-11 08:59:47.561 INFO 4448 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
29 name: default
30 ...]
312017-12-11 08:59:47.706 INFO 4448 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
322017-12-11 08:59:47.708 INFO 4448 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
332017-12-11 08:59:47.710 INFO 4448 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
342017-12-11 08:59:47.798 INFO 4448 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
352017-12-11 08:59:48.013 INFO 4448 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
362017-12-11 08:59:48.900 INFO 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
372017-12-11 08:59:48.909 ERROR 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: drop table order if exists
382017-12-11 08:59:48.909 ERROR 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : Syntax error in SQL statement "DROP TABLE ORDER[*] IF EXISTS "; expected "identifier"; SQL statement:
39drop table order if exists [42001-196]
402017-12-11 08:59:48.922 ERROR 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: create table order (id bigint generated by default as identity, total double, costumerid bigint, costumer_name varchar(255), primary key (id))
412017-12-11 08:59:48.923 ERROR 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : Syntax error in SQL statement "CREATE TABLE ORDER[*] (ID BIGINT GENERATED BY DEFAULT AS IDENTITY, TOTAL DOUBLE, COSTUMERID BIGINT, COSTUMER_NAME VARCHAR(255), PRIMARY KEY (ID)) "; expected "identifier"; SQL statement:
42create table order (id bigint generated by default as identity, total double, costumerid bigint, costumer_name varchar(255), primary key (id)) [42001-196]
432017-12-11 08:59:48.923 INFO 4448 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
442017-12-11 08:59:48.964 INFO 4448 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
452017-12-11 08:59:49.038 INFO 4448 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [file:/C:/Users/Eduardo/Documents/workspace-sts-3.9.1.RELEASE/apirest/target/classes/data.sql]
462017-12-11 08:59:49.047 INFO 4448 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [file:/C:/Users/Eduardo/Documents/workspace-sts-3.9.1.RELEASE/apirest/target/classes/data.sql] in 8 ms.
472017-12-11 08:59:50.013 INFO 4448 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@275710fc: startup date [Mon Dec 11 08:59:43 GFT 2017]; root of context hierarchy
482017-12-11 08:59:50.123 INFO 4448 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/booking]}" onto java.util.Collection<com.trabalho.apirest.Booking> com.trabalho.apirest.BookingRestController.booking()
492017-12-11 08:59:50.127 INFO 4448 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/orders],methods=[GET]}" onto public java.util.Collection<com.trabalho.apirest.Order> com.trabalho.apirest.OrdersController.get()
502017-12-11 08:59:50.130 INFO 4448 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/orders/{id}],methods=[GET]}" onto com.trabalho.apirest.Order com.trabalho.apirest.OrdersController.order(java.lang.Long)
512017-12-11 08:59:50.134 INFO 4448 --- [ 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-11 08:59:50.134 INFO 4448 --- [ 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)
532017-12-11 08:59:50.192 INFO 4448 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
542017-12-11 08:59:50.193 INFO 4448 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
552017-12-11 08:59:50.268 INFO 4448 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
562017-12-11 08:59:51.396 INFO 4448 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
572017-12-11 08:59:51.493 INFO 4448 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
582017-12-11 08:59:51.544 INFO 4448 --- [ main] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
59Booking [Id=1, bookingName=Kris]
60Booking [Id=2, bookingName=Martin]
61Booking [Id=3, bookingName=Andy]
62Booking [Id=4, bookingName=Josh]
632017-12-11 08:59:51.714 INFO 4448 --- [ main] com.trabalho.apirest.ApirestApplication : Started ApirestApplication in 8.912 seconds (JVM running for 10.292)