java 5

[Spring Java] Hot code replace failed : scheme change not implemented

빌드할 때 마우스로 뭔가 잘못 눌렀는데 뜬 경고창 에러는 아니지만 찝찝해서 찾아보니 디버깅을 눌렀던 것 같습니다.. 디버깅 모드에서 빌드를 하면 이런 경고창이 뜬다네요 디버깅 모드를 해제(🕷)하고 다시 빌드하니까 경고창 없이 잘 실행 됩니다. (정지(빨간 네모) 클릭 후 다른 걸 선택하고 실행) 만약 저 경고창을 다시 보고싶지 않다면, Window - Preference - Java - Debug에 들어갑니다. 그리고 Hot Code Replace 에서 두번째에 있는 Show error when hot code replace fails를 선택 해제하면 됩니다.

Programming/Java 2021.08.26

[Spring Mybatis Error] Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'id..

mybatis 연동 중 발견된 오류 Request processing failed;nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'dialogdesigner.idd.getManagerList'. It's likely that neither a Result Type nor a Result Map was specified. 오류의 마지막 문장을 보면, -> It's likely that neither ..

Programming/SPRING 2021.08.05

[Spring Java] Controller에서 RequestMapping value 여러 개 작성하기

보통은 Controller에서 RequestMapping을 할 때 다음과 같이 value를 하나씩 매핑하게 됩니다. @RequestMapping(value="/example/url01.do") 만약 url01과 url02가 같은 Controller에서 같은 동작을 해야한다면, 중복코드를 줄이고 싶다면, 다음과 같이 RequestMapping value 값에 두 url 모두 매핑하여 같이 쓸 수 있습니다. // 다음과 같이 value 값을 중괄호({})로 묶고, 구분을 콤마(,)로 해주어 여러 개의 url을 작성할 수 있음 // value = {"","","",""} @RequestMapping(value= {"example/url01.do", "example/url02.do"}) public String..

Programming/Java 2021.07.22