inflearn logo
講義

講義

知識共有

foobarさんの投稿

foobar foobar

@zmfjscl7898697

レビュー投稿数
5
平均評価
5.0

投稿 6

Q&A

안녕하세요 선생님 강의내용대로 WAR로 패키지 만들고, webapp을 만들어도 index.html과 basic.html의 화면이 뜨지 않네요..

1. 제대로 쓴거같고, 2.도 똑같이 페이지가 뜨지 않습니다.! 3. 헬로페이지를 실행했을 때의 콘솔 로그입니다. 2021-07-09 11:11:23.941 INFO 7552 --- [ main] hello.servlet.ServletApplication : Starting ServletApplication using Java 11.0.11 on DESKTOP-UT3UMNN with PID 7552 (C:\Users\82109\Desktop\home\servlet (1)\servlet\out\production\classes started by 82109 in C:\Users\82109\Desktop\home\servlet (1)) 2021-07-09 11:11:23.945 INFO 7552 --- [ main] hello.servlet.ServletApplication : No active profile set, falling back to default profiles: default 2021-07-09 11:11:24.626 INFO 7552 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-07-09 11:11:24.632 INFO 7552 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-07-09 11:11:24.633 INFO 7552 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43] 2021-07-09 11:11:24.691 INFO 7552 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-07-09 11:11:24.691 INFO 7552 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 688 ms 2021-07-09 11:11:24.825 INFO 7552 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2021-07-09 11:11:24.953 INFO 7552 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-07-09 11:11:24.960 INFO 7552 --- [ main] hello.servlet.ServletApplication : Started ServletApplication in 1.465 seconds (JVM running for 2.469) 2021-07-09 11:11:54.063 DEBUG 7552 --- [nio-8080-exec-1] o.a.coyote.http11.Http11InputBuffer : Before fill(): [true], parsingRequestLine: [true], parsingRequestLinePhase: [0], parsingRequestLineStart: [0], byteBuffer.position() [0] 2021-07-09 11:11:54.063 DEBUG 7552 --- [nio-8080-exec-1] o.a.coyote.http11.Http11InputBuffer : Received [GET / HTTP/1.1 Host: localhost:8080 Connection: keep-alive Cache-Control: max-age=0 sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91" sec-ch-ua-mobile: ?0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Encoding: gzip, deflate, br Accept-Language: ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7 ] 2021-07-09 11:11:54.089 INFO 7552 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-07-09 11:11:54.089 INFO 7552 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2021-07-09 11:11:54.090 INFO 7552 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2021-07-09 11:11:54.141 DEBUG 7552 --- [nio-8080-exec-1] o.a.coyote.http11.Http11InputBuffer : Before fill(): [true], parsingRequestLine: [true], parsingRequestLinePhase: [0], parsingRequestLineStart: [0], byteBuffer.position() [0] 2021-07-09 11:11:54.141 DEBUG 7552 --- [nio-8080-exec-1] o.a.coyote.http11.Http11InputBuffer : Received [] 2021-07-09 11:11:54.142 DEBUG 7552 --- [nio-8080-exec-1] o.apache.coyote.http11.Http11Processor : Socket: [org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@4f52df0f:org.apache.tomcat.util.net.NioChannel@1b2bbde7:java.nio.channels.SocketChannel[connected local=/0:0:0:0:0:0:0:1:8080 remote=/0:0:0:0:0:0:0:1:64880]], Status in: [OPEN_READ], State out: [OPEN]

いいね数
0
コメント数
8
閲覧数
1091