본문 바로가기

IT/Spring

Incompatible operand types int and String

 

오늘도 어김없이 빨간불이 켜졌다...

 

'Incompatible operand types int and String'

 

프로젝트 타겟서버 설정을 안해줘서 그런단다

 

해결방법

1. 프로젝트 우클릭 Properties 선택

2. Targeted Runtimes 항목에서 Apche Tomcat v8.5 체크박스 후 Apply and Close 선택. 끝.

 

 

 

 

다음 오류 들어오세요..