오류

    ORA-01861:literal does not match format string 에러

    쿼리가 적힌 Mapper.xml 에서, ORA-01861:literal does not match format string 오류가 출력됐다. 확인해보니 날짜를 비교하는 쿼리에 문제가 있었다. where REGDATE >= TO_CHAR(SYSDATE-7,'YYYYMMDD' ) where 조건문에 REGDATE 는 DATE 타입인데 비교되는 값은 String 타입인 TO_CHAR 이기 때문이였다. where TO_CHAR(REGDATE,'YYYYMMDD') >= TO_CHAR(SYSDATE-7,'YYYYMMDD' ) 데이터 타입을 맞춰줘서 해결, 로컬 톰캣서버를 구동할때엔 잘 구동했지만, AWS로 배포 후에는 에러가 나왔다. 자바 또는 다른 응용프로그램에서는 에러가 발생 할 수 있다고 하니, 현재 에러가 ..

    Uncaught ReferenceError: * is not defined 에러 : AJAX

    Uncaught ReferenceError: * is not defined 에러 : AJAX

    AJAX 로 구현한 좋아요 , 채택 , 싫어요 기능이 새로 회원가입한 아이디로 클릭 시 Uncaught ReferenceError: * is not defined 에러가 발생하면서 버튼이 먹히질 않았다... 참 이상한건 이미 가입해놓았던 회원들은 기능이 정상작동 한다는 것... Controller에 파라미터 로그를 찍어보니 필요한 파라미터의 값들 중, ID (String) 값이 null이 찍혔다. 그래서 프론트에서 해당 파라미터를 화면에 출력되도록 했더니 , 값이 제대로 출력. 그렇다면 뷰에서 컨트롤러로 넘어갈때 , 뷰에서 제대로 파라미터를 전송하지 못한다는 것이다. 이것저것 두시간가량 만져본 결과 Id값이 Number 타입으로 찍히는 것 이였다..... 원래 가입해있던 아이디는 2222 , 3333 등..

    [스프링] Request processing failed; nested exception is org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS; 메일작성 오류

    스프링에서, 메일관련 라이브러리를 사용하는 중 오류가 발생했다. Request processing failed; nested exception is org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS; 설명 서버가, 해당 요청을 충족시키지 못하게 하는 예기치 않은 조건을 맞닥뜨렸습니다. 예외 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.s..

    Current request is not of type [org.springframework.web.multipart.MultipartHttpServletRequest]: org.apache.catalina.connector.RequestFacade@ // new FormData()의 사용

    오류 : java.lang.IllegalStateException: Current request is not of type [org.springframework.web.multipart.MultipartHttpServletRequest]: org.apache.catalina.connector.RequestFacade@ ajax 비동기방식 작성시 multipart값을 받지 못했다. 기존 동기방식의 게시글 작성페이지에서 첨부파일 기능을 추가했었다. 그 후 첨부파일 백단을 조금 손봐서 , ajax를 사용하는 비동기 방식의 댓글 작성에서 첨부파일 기능을 구현하려 했는데, 클라이언트 보낸 multipart 인코딩타입의 첨부파일데이터를 서버에서 받을 수 있도록 처리해주는 multipart라이브러리의 인터페이스인 M..

    Unknown tag (form:form), (form:hidden)

    http://www.springframework.org/tags/form"%> jsp페이지 상단에 태그를 추가해준다.

    java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.ArrayList Json데이터를 받지 못할때

    SEVERE: 경로 []의 컨텍스트 내의 서블릿 [appServlet]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.ArrayList]을(를) 발생시켰습니다. java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.ArrayList at org.springframework.web..

    @Resource를 찾을 수 없을때

    @Resource를 찾을 수 없음, the import javax.annotation.Resource cannot be resolved 에러코드 javax.annotation javax.annotation-api 1.3.1 현재 자바 11사용중인데, 자바 9이후로는 @Resource 어노테이션을 지원 안한다고 한다. 폼에 추가해주면 간단하게 오류를 없앨 수 있다.

    Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap 서버 구동 에러

    자바 버전 변경시 나는 에러, 진짜 이거 때문에 오전공부 시간을 다 날려버렸다..ㅜ 이클립스 최신화 후 원래 사용하던 jdk1.8은 이제 사용 불가이고 11버전부터 지원을 한다고 해서 11버전을 사용하려고 pom을 바꾸니 저 에러가 났다 이클립스도 지우고 새로받고... 구글링을 해서 톰캣 bin에 들어가서 startup도 해보고.. maven 업데이트도 해보고.. 별짓을 다해도 안됐다.. 결국 해결방법은 자바변경방법을 구글링해서 알아낸 방법이였다. preference - java - installed JREs에서 add 후 설치한 jdk를 추가해줘야 하는 것이 였다. 컴퓨터엔 설치했으나 이클립스에도 이 jdk를 설치했다고 알려줘야 한다는 것이다.. 자꾸 에러가 나고 1.8버전으로 바뀌고 짜증났는데 이걸 ..

    cvc-id.3: A field of identity constraint 'web-app-filter-name-uniqueness' matched element 'web-app', but this element does not have a simple type. //이클립스 web.xml에러

    web.xml file error: Referenced file contains errors, cvc-id.3: A field of identity constraint - Programmer Sought web.xml file error: Referenced file contains errors, cvc-id.3: A field of identity constraint - Programmer Sought web.xml file error: Referenced file contains errors, cvc-id.3: A field of identity constraint tags: web project Profiles Introduction: import maven project, web.xml repor..