• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

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

22.10.28 16:28 작성 조회수 275

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

답변 2

·

답변을 작성해보세요.

0

웨스님의 프로필

웨스

질문자

2022.10.28

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

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

강의 감사합니다 ~

네 잘하셨습니다~~

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

}