일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- 세션이란
- optional
- 인터셉터의 정의
- SpringMVC
- Testcode
- 401오류
- springSecurityFilterChain 오류
- .orelseThrow
- java.lang.AssertionError
- BindingResult
- 쿠키란
- 필터vs인터셉터
- filter vs interceptor
- spring MVC
- @Controller
- n+1
- 구글 보안 api 활용
- 필터의 정의
- 쿠키의 정의
- MVC
- 세션의 정의
- controller
- spring
- Validation
- jpa
- 유연한 컨트롤러1 - v5
- 세션vs쿠키
- application-properties
- abap value in field Data Class error
- 김영한
- Today
- Total
목록[WEB]오류들 (14)
ABAP DUMP ERROR 24시
console 창에 npm 404 error 발생!! -> 너무 빨리 만들어서 >Error Message /extbin/bin/npx fiori run --open index.html Debugger attached. Could not read source map for file:///opt/nodejs/node-v16.15.0-linux-x64/lib/node_modules/npm/node_modules/http-proxy-agent/dist/index.js: ENOENT: no such file or directory, open '/opt/nodejs/node-v16.15.0-linux-x64/lib/node_modules/npm/node_modules/http-proxy-agent/dist/inde..

다음 dump 가 떨어졌을 때 해결방법. top data의 field를 잘 살펴보자.

해결책 Data class part 1번 2번 확인하기. # 내 오류 해결 A 가 아니라 'APPL0' 이다!
public interface MemberRepository extends JpaRepository { Optional findByEmail(String email); 다음과 같이 만들고 public Long addCart(CartItemDto cartItemDto, String email){ Item item = itemRepository.findById(cartItemDto.getItemId()).orElseThrow(EntityNotFoundException::new); Member member = memberRepository.findByEmail(email); 컴파일 오류발생 핵심은 Optional 을 사용했으면 .orElseThrow를 통해 Service를 날려 줘야 했던것! .orElseTh..
1. spring 시큐리티5.1 에서 5.2로 업데이트 될 때의 오류 => 내 문제 아니였다. 2. SecurityConfig 오류 public class SecurityConfig extends WebSecurityConfigurerAdapter { 해결방안> 역시나 SecurityConfig에서의 문제 !! @Override protected void configure(HttpSecurity http) throws Exception { 다음 @override 에서 중복 코드, 논리적 오류 발생 .antMatchers("/", "/css/**","/images/**","/js/**","h2-console/**").permitAll() 해놓고 .antMatchers("/api/v1/**").hasRole..

1. 해결 방법 application-oauth.properties 로 보안 api 를 받는다고 한다면 application-properties에 spring.profiles.include=oauth 를 기입하도록 하자! 2) application-properties와 application-oauth.properties가 같은 위치에 존재하는지 확인하자!(나는 코딩하다 건드려서 application properties의 위치가 옮겨져 있었다!) src/main/resources/application.propertiessrc/main/resources/application-oauth.properties 에 위치해 있어야 한다! 2.결론 application-가나다.properties 라고 만들었으면 spr..