본문 바로가기

기록

spring 프로젝트_0830

sts 콘솔창 가로 출력 현상 : 폰트 설정 시 @붙지 않은 폰트로 바꿔야 함

test package xml dtd 오류

<수정 전>

<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd">

수정 후>
<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">

출처: https://withthisclue.tistory.com/entry/Spring-log4jxml-에러-Cannot-find-DTD-log4jdtd-지정된-파일을-찾을-수-없습니다 [TI이야기:티스토리]

dynamic web module 4.0 requires java 1.8 or newer

**dynamic web module 버전 >>  servlet 스펙

다시 프로젝트 삭제 후 재실행하여 home controller 페이지 확인(아래 두개의 jre 버전 상이 오류는 아직 있음)

Description Resource Path Location Type
The compiler compliance specified is 1.6 but a JRE 13 is used pen Compiler Compliance JRE Compiler Compliance Problem

Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment.  pen Build path JRE System Library Problem

bootstrap5 적용 후 css 깨짐 현상  org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/fonts/icomoon/style.css] in DispatcherServlet with name 'appServlet' 등등

>> 파일 위치 /resources/ 추가하여 경로 잡아줌

<상대경로>    

/ : 루트

./ : 현재 위치

../ : 현재 위치의 상단 폴더

<jsp:includ page= "common/nav.jsp"/> 

-------------------------------------------------------------

net::ERR_ABORTED 404  >>  bootstrap.bundle.min.js.map 파일 불러오기 실패  >> 정적파일 경로 오류

** 우선 보류하고 mysql db 연동 

[mysql ERD설계 후 실제 DB 반영]

Database > Forward Engineer 클릭
Forward Engineer: 자신의 설계한 Model을 실제 DB에 반영하는 것
Reverse Engineer: DB의 내용을 가지고 Model을 만드는 것

>> 회원정보 더미데이터 추가 

>> member table dummy data 추가 후 db 연동 테스트

-------------------------------------------------------------------------

형상관리시스템 > gitLab 사용 (gui로는 source tree를 많이 씀)

** 깃으로 작업시 로컬 외 다른 장소에서 업로드 불가함 

** sts3 version 에서 egit plugin 사용 안됨 --> http://download.eclipse.org/egit/updates  (대체 링크)

------------------------------------------------------------------------

금요일 스터디 주제 -> 스프링 (pm 3 - 4:30 / 4C회의실) 

spring 정의 / 특징(IOC, DI, AOP 등) + 예제 코드로 설명

spring MVC 구성요소 (DispatcherServlet, HandlerMapping, ViewResolver 등)

spring 동작원리 + MVC2 패턴 

주요 Annotation(설정 / 파라미터 처리) 역할 + 예제 코드

spring xml설정 -> @Annotation(java configuration) 설정 변환 

'기록' 카테고리의 다른 글

spring프로젝트_0906  (0) 2022.09.06
spring프로젝트_0905  (0) 2022.09.05
spring프로젝트_0902  (0) 2022.09.02
spring프로젝트_0901  (0) 2022.09.01
spring 프로젝트_0831  (0) 2022.08.31