강의

멘토링

커뮤니티

Inflearn Community Q&A

yubincho96389's profile image
yubincho96389

asked

Spring Framework is in my hands [Spring Shot 1]

78. Process member logout

시큐리티 로그인 에러 질문입니다.

Written on

·

497

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]

 

로긴에러.PNG

jspMVCspringSpring Security

Answer 2

0

yubincho96389님의 프로필 이미지
yubincho96389
Questioner

선생님, 해결했습니다. !!!

제가 jsp 파일에 ${mvo.member.memName}님으로 수정을 안했더라구요.

강의 감사합니다 ~

bitcocom님의 프로필 이미지
bitcocom
Instructor

네 잘하셨습니다~~

0

yubincho96389님의 프로필 이미지
yubincho96389
Questioner

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");

}

yubincho96389's profile image
yubincho96389

asked

Ask a question