일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Function
- 코테관련공부
- Linux
- react
- Biling and Cost Manager
- Spring
- SpringBoot개발환경
- javascript
- Push
- EaaS
- linux Xshell
- 사용자 권한 부여
- 공동작업자
- html템플릿
- 구성파일
- Github
- AWS #AWS장단점 #AWS차별화 # AWS서비스
- OracleVMVirtualBox
- react-dom
- 코딩애플
- insert안됨
- Disk추가
- GiyHub
- java.sql.SQLException: Incorrect string value: #RDS #AWS #mariadb #springboot
- VSCode업로드
- 편집모드
- aws
- 명령어 모음
- oracle vm virtualbox
- VSCode
- Today
- Total
목록공부/Spring (6)
귀농 전까지 쓰는 개발 일지
@PostConstruct 패키지 이름 변경 javax.annotation.PostConstruct -> jakarta.annotation.PostConstruct @Controller 스프링이 해당 클래스를 컨트롤러로 지정함 (웹 애플리케이션에서 요청을 처리하기 위한 메소드들 작성) @GetMapping HTTP GET 요청 처리, 메소드에서 처리할 URL 패턴 지정 가능 @GetMapping("/hello") @ResponseBody 컨트롤러 메소드가 반환하는 데이터를 HTTP 응답 본문으로 전송하기 위한 어노테이션 @GetMapping("/hello") @ResponseBody public String sayHello() { return "Hello, World!"; } * 객체 반환시 JSON o..
중복된 이름으로 등록하려는 Bean이 두개이상이라 발생 오류내용 java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@fceab5d testClass = hello.hellospring.service.MemberServiceIntegrationTest, locations = [], classes = [hello.hellospring.HelloSpringApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["or..

오류 내용 - javaspring delete 불가 해결 방법 Repository의 delete관련 문 위에 import javax.transaction.Transactional; 추가

오류 내용 - AWS RDS, MariaDB에 insert가 안되는 오류 - pick 데이터베이스의 ad_board 테이블의 adboardinfo내용이 안들어가진댄다! 다른 부분에도 확인해봤더니 utf-8인코딩 문제였던걸루 해결 방법 1. AWS RDS 파라미터 그룹 신규 설정 후 (하단 사이트 ㄱ) 2. mariaDB 쿼리에서 밑 명령문 실행 show variables like 'c%'; character_set_~~과 collation_이 utf8 또는 utf8mb4로 되어있는지 확인 ALTER TABLE 테이블명 CONVERT TO character SET utf8; character SET 변경! 혹쉬 위에 ALTER가 안먹으면 밑처럼 테이블 하나씩 설정 해보기 ALTER TABLE 테이블명 CO..

application.properties ?application properties? -> SpringBoot가 자동 로딩하는 규약 (+application.yaml) #mariaDB spring.datasource.driverClassName=org.mariadb.jdbc.Driver spring.datasource.url=jdbc:mariadb://localhost:포트번호/DB이름?characterEncoding=UTF-8&serverTimezone=UTC spring.datasource.username=사용자 spring.datasource.password=암호 # jpa spring.jpa.hibernate.ddl-auto=update spring.jpa.database-platform=org...

============================================================================ Maria DB 설치 https://mariadb.org/download/?t=mariadb 설치 후 계속 next 하다가 user setting에서 멈추기 DB 슈퍼 User (root)설정 -> root password, confirm 비밀번호 동일하게 반드시 기억 -> Enable access from remote ~ : 체크 root계정으로 DB 공유할거냐 (팀프로젝트 진행할 시 체크) -> Use UTF8 ~ : 체크 문자 표현 위한 국제표준 설정 후 계속 next, Install HeidiSQL 열기 HeIdiSQL 홈 화면 root 암호 입력 연결완료 ==..