503에러가 나옵니다

여기 글들과 유튜브 영상들 공부하며 데이터베이스와 제가 만든 프로젝트를 연결해서 올리는 것에는 성공했습니다 그래서 실행로그를 보면

2024-08-18 12:43:42 + java -jar ./target/blog-0.0.1-SNAPSHOT.jar

2024-08-18 12:43:42 Starting Java v17

2024-08-18 12:43:56

2024-08-18 12:43:56 . ____ _ __ _ _

2024-08-18 12:43:56 /\\ / ___'_ __ _ ()_ __ __ _ \ \ \ \

2024-08-18 12:43:56 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

2024-08-18 12:43:56 \\/ ___)| |_)| | | | | || (_| | ) ) ) )

2024-08-18 12:43:56 ' |____| .__|_| |_|_| |_\__, | / / / /

2024-08-18 12:43:56 =========|_|==============|___/=/_/_/_/

2024-08-18 12:43:57 :: Spring Boot :: (v2.7.3)

2024-08-18 12:43:57

2024-08-18 12:43:58 2024-08-18 03:43:58.133 INFO 11 --- [ main] com.cos.blog.BlogApplication : Starting BlogApplication v0.0.1-SNAPSHOT using Java 17.0.11 on springboot-blog-shitahaku-hounensai with PID 11 (/app/target/blog-0.0.1-SNAPSHOT.jar started by java in /app)

2024-08-18 12:43:58 2024-08-18 03:43:58.138 INFO 11 --- [ main] com.cos.blog.BlogApplication : No active profile set, falling back to 1 default profile: "default"

2024-08-18 12:44:11 2024-08-18 03:44:11.841 INFO 11 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.

2024-08-18 12:44:12 2024-08-18 03:44:12.938 INFO 11 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 898 ms. Found 2 JPA repository interfaces.

2024-08-18 12:44:23 2024-08-18 03:44:23.536 INFO 11 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8000 (http)

2024-08-18 12:44:23 2024-08-18 03:44:23.640 INFO 11 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]

2024-08-18 12:44:23 2024-08-18 03:44:23.641 INFO 11 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.65]

2024-08-18 12:44:29 2024-08-18 03:44:29.435 INFO 11 --- [ main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

2024-08-18 12:44:31 2024-08-18 03:44:31.636 INFO 11 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext

2024-08-18 12:44:31 2024-08-18 03:44:31.637 INFO 11 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 32597 ms

2024-08-18 12:44:38 2024-08-18 03:44:38.139 INFO 11 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]

2024-08-18 12:44:38 2024-08-18 03:44:38.839 INFO 11 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.10.Final

2024-08-18 12:44:41 2024-08-18 03:44:41.239 INFO 11 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}

2024-08-18 12:44:42 2024-08-18 03:44:42.733 INFO 11 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...

2024-08-18 12:44:45 2024-08-18 03:44:45.337 INFO 11 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.

2024-08-18 12:44:45 2024-08-18 03:44:45.736 INFO 11 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 create table Board (

2024-08-18 12:44:55 id integer not null auto_increment,

2024-08-18 12:44:55 content longtext,

2024-08-18 12:44:55 count integer not null,

2024-08-18 12:44:55 createDate datetime(6),

2024-08-18 12:44:55 title varchar(100) not null,

2024-08-18 12:44:55 userId integer,

2024-08-18 12:44:55 primary key (id)

2024-08-18 12:44:55 ) engine=InnoDB

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 create table Reply (

2024-08-18 12:44:55 id integer not null auto_increment,

2024-08-18 12:44:55 content varchar(200) not null,

2024-08-18 12:44:55 createDate datetime(6),

2024-08-18 12:44:55 boardId integer,

2024-08-18 12:44:55 userid integer,

2024-08-18 12:44:55 primary key (id)

2024-08-18 12:44:55 ) engine=InnoDB

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 create table User (

2024-08-18 12:44:55 id integer not null auto_increment,

2024-08-18 12:44:55 createDate datetime(6),

2024-08-18 12:44:55 email varchar(50) not null,

2024-08-18 12:44:55 password varchar(100) not null,

2024-08-18 12:44:55 role varchar(255),

2024-08-18 12:44:55 username varchar(30) not null,

2024-08-18 12:44:55 primary key (id)

2024-08-18 12:44:55 ) engine=InnoDB

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 alter table User

2024-08-18 12:44:55 drop index UK_jreodf78a7pl5qidfh43axdfb

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 alter table User

2024-08-18 12:44:55 add constraint UK_jreodf78a7pl5qidfh43axdfb unique (username)

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 alter table Board

2024-08-18 12:44:55 add constraint FKnwfsptg8pbhl5hnphivfydtpy

2024-08-18 12:44:55 foreign key (userId)

2024-08-18 12:44:55 references User (id)

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 alter table Reply

2024-08-18 12:44:55 add constraint FKayalcledc3l0g5lt1balg0jwf

2024-08-18 12:44:55 foreign key (boardId)

2024-08-18 12:44:55 references Board (id)

2024-08-18 12:44:55 Hibernate:

2024-08-18 12:44:55

2024-08-18 12:44:55 alter table Reply

2024-08-18 12:44:55 add constraint FKib3ncel5kkj8if1h2up5he43t

2024-08-18 12:44:55 foreign key (userid)

2024-08-18 12:44:55 references User (id)

2024-08-18 12:44:55 2024-08-18 03:44:55.969 INFO 11 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

2024-08-18 12:44:56 2024-08-18 03:44:56.035 INFO 11 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'

2024-08-18 12:45:07 2024-08-18 03:45:07.741 INFO 11 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@441b8382, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1df1ced0, org.springframework.security.web.context.SecurityContextPersistenceFilter@655a01d8, org.springframework.security.web.header.HeaderWriterFilter@c269425, org.springframework.security.web.authentication.logout.LogoutFilter@4f0cab0a, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@6fc6deb7, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6614bd4b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@78e17a99, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5349b246, org.springframework.security.web.session.SessionManagementFilter@51d719bc, org.springframework.security.web.access.ExceptionTranslationFilter@503df2d0, org.springframework.security.web.access.intercept.AuthorizationFilter@7d7cac8]

2024-08-18 12:45:14 2024-08-18 03:45:14.345 INFO 11 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8000 (http) with context path ''

2024-08-18 12:45:14 2024-08-18 03:45:14.535 INFO 11 --- [ main] com.cos.blog.BlogApplication : Started BlogApplication in 84.696 seconds (JVM running for 92.385)

이렇게 나옵니다

그런데 실행중으로 끝나는게 아니라 계속 시작중에서 멈춰있고 접속하려고 하면 503에러가 발생합니다 어떻게 해야할까요

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

📥 피드백 Feedback

Date

Over 1 year ago

Author

jaehuhn1122

Subscribe to post

Get notified by email when there are changes.