게시글
질문&답변
비교적 최신 버전에서 에러가 발생합니다.
이거 해결하셨나요 .. 같은 문제가 발생하는데
- 1
- 11
- 5.1K
질문&답변
java.lang.NoClassDefFoundError: Could not initialize class javax.xml.bind.DatatypeConverterImpl 에러 대처법
와 진짜 너무 감사합니다 ㅋㅋㅋㅋㅋㅋㅋ
- 12
- 6
- 2.9K
질문&답변
안녕하세요 선생님 강의내용대로 WAR로 패키지 만들고, webapp을 만들어도 index.html과 basic.html의 화면이 뜨지 않네요..
실행이되네요.. 뭐가문제였는지 모르겠지만 감사합니다
- 0
- 9
- 820
질문&답변
안녕하세요 선생님 강의내용대로 WAR로 패키지 만들고, webapp을 만들어도 index.html과 basic.html의 화면이 뜨지 않네요..
일단 신경써주셔서 감사합니다. 혹시나 잘못 만들었을까 해서 프로젝트 2~3번 더 만들어서 해본 결과 같은 문제가 발생하여 진행을 못하고있는데.. 프로젝트 코드를 공유해주시면 감사하겠습니다.
- 0
- 9
- 820
질문&답변
안녕하세요 선생님 강의내용대로 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
- 9
- 820
질문&답변
@PreAuthorize에 사용하는 SpEL 문법에 대해 질문드립니다.
스프링 시큐리티의 principal 에 대한 개념이 정확하게 잡힌것 같습니다. 정성스러운 답변 감사합니다!!
- 0
- 2
- 661