오류 및 해결/Spring4 [Spring Boot] DB 연동 오류 해결 : Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. [ 문제 ]프로젝트 구성 중 DB를 연동하지 않아 실행 시 아래와 같은 오류 발생 ***************************APPLICATION FAILED TO START***************************Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classAction:Consider the following: If you want an embedded database (H2, HSQL or Derby), please pu.. 2025. 2. 17. [Spring] org.springframework.beans.factory.CannotLoadBeanClassException 오류 org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.worldfinder.security.CustomUserDetailService] for bean with name 'customUserDetailService' defined in ServletContext resource [/WEB-INF/spring/security-context.xml]; nested exception is java.lang.ClassNotFoundException: org.worldfinder.security.CustomUserDetailService [해결법] Project > Clean 2023. 8. 25. Spring Security XML 설정 오류(servlet-context.xml) 오류 Spring Security 초기 설정 중 아래와 같은 오류 발생 Multiple annotations found at this line: - Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema with Spring Security 4.2. Please update your schema declarations to the 4.2 schema. Offending resource: file [C:/dev/works.. 2023. 7. 24. [Spring] localhost:8080 접속 시 로그인 오류 해결 방법 IntelliJ에서 Spring 프로젝트 만들고 실행을 시키니까사진처럼 localhost에 접속하려면 로그인을 하라는 창이 떴다. 다른 프로그램이 8080 포트 번호를 쓰는 것 같아서cmd에 어떤 프로그램이 8080 포트를 쓰고 있는지 확인하러 갔다. netstat -ano를 입력해보니 PID가 5872인프로그램이 8080 포트를 사용하고 있었다. 작업 관리자에서 확인해보니까 TNSLSNR.EXE 즉, Oracle이 8080 포트를 사용하고 있었다. 포트 번호 변경을 위해 다시 cmd로 돌아가 sqlplus를 들어갔다.아이디와 비밀번호를 입력하고SELECT DBMS_XDB.GETHTTPPORT() FROM DUAL;위의 명령어를 입력해보니까 역시 8080 포트를 사용하고 있다고 떴다. 포트 변.. 2022. 4. 11. 이전 1 다음 반응형