spring boot 실행시 테이블 생성모습

hyunwoo·2023년 2월 6일
0

Spring (fastcampus)

목록 보기
22/27
21:19:27.148 [Thread-0] DEBUG org.springframework.boot.devtools.restart.classloader.RestartClassLoader - Created RestartClassLoader org.springframework.boot.devtools.restart.classloader.RestartClassLoader@3da4b169

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.7.0)

2023-02-06 21:19:27.480  INFO 16764 --- [  restartedMain] c.f.p.FastCampusProjectBoardApplication  : Starting FastCampusProjectBoardApplication using Java 17.0.6 on DESKTOP-8O3V5SJ with PID 16764 (C:\Users\steph\fastcampus\fastcampus-project-board\out\production\classes started by steph in C:\Users\steph\fastcampus\fastcampus-project-board)
2023-02-06 21:19:27.481 DEBUG 16764 --- [  restartedMain] c.f.p.FastCampusProjectBoardApplication  : Running with Spring Boot v2.7.0, Spring v5.3.20
2023-02-06 21:19:27.481  INFO 16764 --- [  restartedMain] c.f.p.FastCampusProjectBoardApplication  : No active profile set, falling back to 1 default profile: "default"
2023-02-06 21:19:27.515  INFO 16764 --- [  restartedMain] o.s.b.devtools.restart.ChangeableUrls    : The Class-Path manifest attribute in C:\Users\steph\.gradle\caches\modules-2\files-2.1\com.github.therapi\therapi-runtime-javadoc-scribe\0.15.0\bd7a08fb0143141e1a8b2a6075194fe8280fe21d\therapi-runtime-javadoc-scribe-0.15.0.jar referenced one or more files that do not exist: file:/C:/Users/steph/.gradle/caches/modules-2/files-2.1/com.github.therapi/therapi-runtime-javadoc-scribe/0.15.0/bd7a08fb0143141e1a8b2a6075194fe8280fe21d/therapi-runtime-javadoc-0.15.0.jar,file:/C:/Users/steph/.gradle/caches/modules-2/files-2.1/com.github.therapi/therapi-runtime-javadoc-scribe/0.15.0/bd7a08fb0143141e1a8b2a6075194fe8280fe21d/minimal-json-0.9.5.jar
2023-02-06 21:19:27.515  INFO 16764 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-02-06 21:19:27.515  INFO 16764 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2023-02-06 21:19:28.415  INFO 16764 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2023-02-06 21:19:28.428  INFO 16764 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 JPA repository interfaces.
2023-02-06 21:19:29.060  INFO 16764 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2023-02-06 21:19:29.067  INFO 16764 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2023-02-06 21:19:29.067  INFO 16764 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.63]
2023-02-06 21:19:29.155  INFO 16764 --- [  restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2023-02-06 21:19:29.155  INFO 16764 --- [  restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1639 ms
2023-02-06 21:19:29.350  INFO 16764 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2023-02-06 21:19:29.586  INFO 16764 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2023-02-06 21:19:29.594  INFO 16764 --- [  restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:mysql://localhost:3306/board'
2023-02-06 21:19:29.759 DEBUG 16764 --- [  restartedMain] o.s.w.s.r.ResourceUrlEncodingFilter      : Filter 'resourceUrlEncodingFilter' configured for use
2023-02-06 21:19:29.893  INFO 16764 --- [  restartedMain] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2023-02-06 21:19:29.946  INFO 16764 --- [  restartedMain] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.6.9.Final
2023-02-06 21:19:30.109  INFO 16764 --- [  restartedMain] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2023-02-06 21:19:30.210  INFO 16764 --- [  restartedMain] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
Hibernate: 
    
    alter table article_comment 
       drop 
       foreign key FKghmocqkgqs5tkmucf5putw64t
Hibernate: 
    
    drop table if exists article
Hibernate: 
    
    drop table if exists article_comment
Hibernate: 
    
    create table article (
       id bigint not null auto_increment,
        content varchar(10000) not null,
        created_at datetime(6) not null,
        created_by varchar(100) not null,
        hashtag varchar(255),
        modified_at datetime(6) not null,
        modified_by varchar(100) not null,
        title varchar(255) not null,
        primary key (id)
    ) engine=InnoDB
Hibernate: 
    
    create table article_comment (
       id bigint not null auto_increment,
        content varchar(500) not null,
        created_at datetime(6) not null,
        created_by varchar(100) not null,
        modified_at datetime(6) not null,
        modified_by varchar(100) not null,
        article_id bigint not null,
        primary key (id)
    ) engine=InnoDB
Hibernate: create index IDX571gx7oqo5xpmgocegaidlcu9 on article (title)
Hibernate: create index IDXai44fu6vaa28ebpydglnv7t3e on article (hashtag)
Hibernate: create index IDXrmt77yibijtk4sarremr67saa on article (created_at)
Hibernate: create index IDXjl4utii2etiocimt799wvtuvv on article (created_by)
Hibernate: create index IDXpieqqnljv147sefofs56h25qx on article_comment (content)
Hibernate: create index IDXh1jx107qecntcbcpc2vfb07ij on article_comment (created_at)
Hibernate: create index IDXc6pa61djuf2o8xnceyyvtdbaq on article_comment (created_by)
Hibernate: 
    
    alter table article_comment 
       add constraint FKghmocqkgqs5tkmucf5putw64t 
       foreign key (article_id) 
       references article (id)
2023-02-06 21:19:30.873  INFO 16764 --- [  restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2023-02-06 21:19:30.881  INFO 16764 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2023-02-06 21:19:31.473 DEBUG 16764 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2023-02-06 21:19:31.568 DEBUG 16764 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : 6 mappings in 'requestMappingHandlerMapping'
2023-02-06 21:19:31.886 DEBUG 16764 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**, /swagger-ui*/**, /explorer/**] in 'resourceHandlerMapping'
2023-02-06 21:19:31.900 DEBUG 16764 --- [  restartedMain] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 2 @ExceptionHandler, 1 ResponseBodyAdvice
2023-02-06 21:19:31.974  WARN 16764 --- [  restartedMain] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2023-02-06 21:19:32.425  WARN 16764 --- [  restartedMain] .s.s.UserDetailsServiceAutoConfiguration : 

Using generated security password: af0d8d09-6348-4bc5-a115-3df2d2a7ddf9

This generated password is for development use only. Your security configuration must be updated before running your application in production.

2023-02-06 21:19:32.620  INFO 16764 --- [  restartedMain] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 13 endpoint(s) beneath base path '/actuator'
2023-02-06 21:19:32.662  INFO 16764 --- [  restartedMain] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1a3ae43f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@763cc9e8, org.springframework.security.web.context.SecurityContextPersistenceFilter@621a3ef0, org.springframework.security.web.header.HeaderWriterFilter@17abeb9d, org.springframework.web.filter.CorsFilter@2117fc83, org.springframework.security.web.csrf.CsrfFilter@67d2a441, org.springframework.security.web.authentication.logout.LogoutFilter@10037e2a, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@1a40c598, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@705be56c, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@659c7e38, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@b4ce4d4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@68d2cf64, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5b8c9130, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@284a75a8, org.springframework.security.web.session.SessionManagementFilter@f01ba2, org.springframework.security.web.access.ExceptionTranslationFilter@1907c768, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@243b3371]
2023-02-06 21:19:32.847  INFO 16764 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2023-02-06 21:19:32.894  INFO 16764 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2023-02-06 21:19:32.910  INFO 16764 --- [  restartedMain] c.f.p.FastCampusProjectBoardApplication  : Started FastCampusProjectBoardApplication in 5.752 seconds (JVM running for 6.412)
2023-02-06 21:19:33.257  INFO 16764 --- [1)-172.30.176.1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-02-06 21:19:33.257  INFO 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2023-02-06 21:19:33.257 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Detected StandardServletMultipartResolver
2023-02-06 21:19:33.257 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Detected AcceptHeaderLocaleResolver
2023-02-06 21:19:33.258 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Detected FixedThemeResolver
2023-02-06 21:19:33.259 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@2de6f50e
2023-02-06 21:19:33.259 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Detected org.springframework.web.servlet.support.SessionFlashMapManager@c0e6940
2023-02-06 21:19:33.259 DEBUG 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2023-02-06 21:19:33.259  INFO 16764 --- [1)-172.30.176.1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms
2023-02-06 21:27:37.423  INFO 16764 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2023-02-06 21:27:37.427  INFO 16764 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2023-02-06 21:27:37.432  INFO 16764 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.

종료 코드 130(으)로 완료된 프로세스

0개의 댓글