-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
시큐리티 로그인 에러 질문입니다.
22.10.28 16:28 작성 조회수 277
0
안녕하세요.
78강 로그인 처리하면 아래처럼 에러가 납니다.;;
피드백 부탁드립니다. ㅠㅠ
설정 파일에서 이미지 변수를 추가해야 할까요?
There was an unexpected error (type=Internal Server Error, status=500).
Property [memProfile] not found on type [com.example.site.domain.MemberUser]
javax.el.PropertyNotFoundException: Property [memProfile] not found on type [com.example.site.domain.MemberUser]
답변을 작성해보세요.
0
웨스
질문자2022.10.28
SecurityConfig 파일에 아래 코드를 추가했더니 이번엔
아래의 에러가 뜹니다. ;;;
<< 에러 메시지 >>
Type Exception Report
Message javax.el.PropertyNotFoundException: Property [memName] not found on type [com.example.site.domain.MemberUser]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Property [memName] not found on type [com.example.site.domain.MemberUser]
<< 코드 추가 >>
@Override
public void configure(WebSecurity web) throws Exception { web.ignoring().requestMatchers(PathRequest.toStaticResources().atCommonLocations()) .antMatchers("/resources/**", "/error");
}
답변 2