분류 전체보기 645

input 태그

🦔 type number 숫자 입력 range 범위 내의 숫자 값만 입력 color 색상 입력 date 날짜 입력 time 시간 입력 datetime-local 날짜와 시간 입력 month 연도와 월 입력 week 연도와 주 입력 email 이메일 입력 url URL 주소 입력 tel 전화번호 입력 search 검색어 입력 🍟 속성 required 값이 입력되야 서버로 전송 placeholder 입력하기 전 문구 표시 autofocus 문서가 로드되면 해당 부분에 자동으로 커서 required 값을 채우지 않고 전송을 하면 '이 입력란을 작성하세요.'문구와 함께 커서가 이동 oninput 값을 입력받을 때마다 이벤트 실행 onchange 해당 input 태그에서 focus가 벗어나는 순간 이벤트가 작동 ..

FE/html 2021.06.05

[Error] Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefF..

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBE..

[Error] nested exception is java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.] with root cause

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.] with root cause 위에는 에러 내용 USE 데이터베이스명입력;..

Languages/SQL 2021.06.04

[Error] javax.net.ssl.SSLException

spring.datasource.url=jdbc:mysql://localhost:3306?&useSSL=false application.properties에서 위와 같이 수정 출처: https://kikikimoong.tistory.com/entry/SpringBoot-Closing-inbound-before-receiving-peers-closenotify-예외-없애기 [SpringBoot] Closing inbound before receiving peer's close_notify 예외 없애기 ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer's close_notif..

[Error] nested exception is java.sql.SQLException: Access denied for user '계정명'@'localhost' (using password: YES)] with root cause

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Access denied for user 'jeong'@'localhost' (using password: YES)] with root cause 이런 에러가 떴다. 계정 권한을 추가해..

Languages/SQL 2021.06.03

[error] Thymeleaf Exception processing template

Exception processing template "post/createPostForm": Exception parsing document: template="post/createPostForm", line 10 - column 11 🎁 해결방법 1. input 또는 meta에서 마지막에 /를 썼는지 확인하자 참고 👉 https://stackoverflow.com/questions/48327528/thymeleaf-exception-parsing-document-in-spring Thymeleaf Exception parsing document in Spring Error message reads: There was an unexpected error (type=Internal Server Error..

commit 메시지

📌 커밋 메시지 형식 유형 : 제목 본문 꼬리말 😊 커밋 메시지 유형 1. 기능추가 2. 기능삭제 3. 기능변경 4. 버그 5. 리팩토링 6. 형식(코드 형식, 정렬, 주석 등의 변경) ----------------------------------------------- 아래로 코드 수정 없음 7. 테스트 8. 문서 9. 프로젝트 10. 기타 제목은 개조식으로 ex) "기능추가 : 로그 출력 기능 추가" 본문은 최대한 상세히 작성(왜 수정했는지를 중점으로) 제목과 본문은 한 줄 띄워 분리 꼬리말은 이슈 트래커를 작성 ex) 유형:#이슈번호 🎃 이슈 트래커 유형 1. 해결 2. 관련 3. 참고 💛 gitmoji 사용 커밋 메시지에 gitmoji를 써서 타입을 대체하는 것이 더 직관적이고 보기 좋았다. :s..

git 2021.06.02

deque

deque(deck)는 double-ended queue의 약어다. deque는 stack과 queue를 합친 것이다. 양쪽 끝에서 넣고 빼고 가능 값을 추가하고 꺼낼 때 O(1)이다 => 효율적 from collections import deque 사용 방법 🍕 자주 쓰는 메소드 deque([iterable[,maxlen]]) deque 생성 maxlen을 주지 않으면 임의의 길이로 생성됨 maxlen이 주어지고, maxlen보다 더 크게 값을 추가하면 반대쪽 끝 값이 삭제 popleft() 가장 왼쪽 원소를 pop한다. 리스트.pop(0)보다 더 빠름 appendleft(x) x를 deque의 왼쪽에 추가한다. rotate(n=1) n이 양수면 시계 방향 회전, 음수면 반시계 방향 회전

Languages/Python 2021.05.27

MySQL 실습

🍯 정리된 자료가 필요할 때 ~ cheat seat를 찾아보자 MySQL을 시작하는 방법 2가지 1. MySQL Command Line Client에 들어간다. 2. cmd에서 아래 파일 위치로 변경 cd C:\Program Files\MySQL\MySQL Server 8.0\bin mysql -uroot -p#root로 로그인, -p는 비밀번호 입력 root는 관리자 권한을 가지기 때문에 모든 권한이 뚫려있음. 중요할 때만 사용하고 평소에는 다른 이름으로 로그인하자 💗 명령어 방향키 ↑를 사용하면 이전 명령어 사용할 수 있음 CREATE DATABASE 이름; 데이터베이스 생성 create table 생성할 테이블명 like 기존테이블; 테이블 복사 DROP DATABASE 이름; 데이터베이스 삭제 S..

DB/MySQL 2021.05.25