error 3

[Error] java.lang.NullPointerException

게시판에 mybatis를 활용하여 FileUpload를 하는 과정에서 to에 null 이 받아오는 문제가 발생했다   java.lang.NullPointerException: Cannot invoke "com.example.board.dto.PdsTO.getSeq()" because "to" is null at org.apache.jsp.WEB_002dINF.views.design_005fpds0.board_005fdelete1_jsp._jspService(board_005fdelete1_jsp.java:129) ~[na:na] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67) ~[tomcat-embed-jasper-10.1.31..

SpringBoot/Error 2024.11.27

[Error] The Unicode character [참] at code point

JSP를 통해서 파일을 업로드하고, 다운 받는 로직을 구현하던 중 아래와 같은 오류가 발생했다java.lang.IllegalArgumentException: The Unicode character [참] at code point [52,280] cannot be encoded as it is outside the permitted range of 0 to 255 at org.apache.tomcat.util.buf.MessageBytes.toBytesSimple(MessageBytes.java:310) ~[tomcat-embed-core-10.1.33.jar:10.1.33] at org.apache.tomcat.util.buf.MessageBytes.toBytes(MessageBytes.java:283)..

SpringBoot/Error 2024.11.26

[ERROR] SLF4J: No SLF4J providers were found.

Gradle설정을 한 후 아래와 같은 오류를 볼 수 있는데SLF4J: No SLF4J providers were found.SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See for further details.ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...  이렇게 Gradle 설정에 추가해주면 된다implementation 'org.apache.logging.log4j:log4j-core:2.19.0'im..

IntelliJ 2024.11.09