안녕하세요 선생님. 오류 관련 질문 드립니다.
403
1 asked
안녕하세요 선생님.
Ex05_JspUse 예제 실습 시부터 발생하는 오류인데, 학습을 따라간 이후 Boot Dashboard 에서 서버를 시작하려고 하면
포트(8081) 가 실행되지 않습니다. 오류 해결하고자 프로젝트 및 프로그램을 모두 지운 후 재설치 등도 해보았으나 해결이 되지 않아 여쭙습니다.
* 참고로 말씀드리면 처음 학습 시 8081 포트가 잘 실행 되었으나 기존 프로젝트 삭제 후 재학습시에는 이와 같은 에러로 웹화면이 뜨지 않습니다.
콘솔창에 보이는 내용은 다음과 같습니다.
[콘솔]
[콘솔내용 전문]
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:183)
The following method did not exist:
'void org.apache.tomcat.util.modeler.Registry.disableRegistry()'
The method's class, org.apache.tomcat.util.modeler.Registry, is available from the following locations:
jar:file:/C:/Users/EUNU/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.5.38/485668675de7538c5f08c5050377297c93493b59/tomcat-embed-core-8.5.38.jar!/org/apache/tomcat/util/modeler/Registry.class
The class hierarchy was loaded from the following locations:
org.apache.tomcat.util.modeler.Registry: file:/C:/Users/EUNU/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.5.38/485668675de7538c5f08c5050377297c93493b59/tomcat-embed-core-8.5.38.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.apache.tomcat.util.modeler.Registry
Answer 1
java Code로 DI 사용하기
0
124
1
sts 24년 8월 3일 최신버전에서 toolchain 오류
0
728
2
34강 3.2.1버전에서 update만 안됨
0
428
1
26강, springboot 3.1.5에서는 에러
0
335
1
33강 jpa 질문입니다
0
527
2
25강 security 관련 에러 (Is there an unresolvable circular reference?)
0
2196
1
스프링 버전 관리 관련하여 문의드립니다.
0
516
1
security 로그인 관련 질문합니다.
0
315
1
getContent,getWriter 안만들고 어떻게 사용했나요?
0
284
1
스프링부트 환경 설정 관련
0
418
1
강의자료 관련
0
371
2
sqlSessionFactory는 생성안해도 되나요??
0
402
1
.예제 소스 어떻게 그대로 복사해서 실행하나요?
0
407
2
안녕하세요 질문입니다.
0
263
2
에러 발생..
0
291
1
@Transactional 선언 위치
0
301
1
외부 톰캣을 사용할 경우
0
247
1
getFieldError 질문
0
274
1
@Valid 질문입니다
1
271
1
createPage.jsp 질문
0
245
1
ContentValidator 클래스 내 validate 메소드 질문
0
175
1
(09) Validator 사용하기 @ModelAttribute("dto") 가 사용된 이유?
0
264
1
Spring Boot 2.5에서 MyBatis선택이 안되네요..
0
345
2
트랜잭션의 사용 여부
0
244
1

