개발/Java (20) 썸네일형 리스트형 slf4j와 log4j2 연동시 Unexpected problem occured during version sanity check 에러발생 slf4j와 log4j2 연동시 Unexpected problem occured during version sanity check 에러발생 Unexpected problem occured during version sanity check Reported exception: java.lang.AbstractMethodError: Receiver class org.apache.logging.slf4j.SLF4JServiceProvider does not define or inherit an implementation of the resolved method abstract getRequestedApiVersion()Ljava/lang/String; of interface org.slf4j.spi.SLF4JS.. MooInfo - OSHI를 이용한 JavaSwing기반의 OS 모니터링 Application MooInfo OSHI, FlatLaf(JAVA Swing Look And Feel), JFreeChart를 이용한 OS 하드웨어 정보 및 모니터링 Application 공식사이트 : https://rememberber.github.io/MooInfo/ GitHub : https://github.com/rememberber/MooInfo 2022년 11월 11일(금) 기준으로 현재버전은 1.1.2 Releases · rememberber/MooInfo (github.com) 에서 다운받아 설치가능하며 윈도우, 리눅스, MacOS를 지원한다. Overview, Detail, Memory, CPU, Storage, Network, Variables, Processes, USB Devices, Power - .. dextupload 이미지업로드 플러그인 사용시 java.lang.IllegalArgumentException: input == null! 발생 개발환경 JDK 11 dextuploaddng-2.4.2.jar dextupload 이미지 플러그인 사용시 정확히 알 수 없는 input == null! Exception 이 발생한다. File file = new File("C:\Temp\ImageFile.png"); ImageTool img = ImageTool.getInstance(file); ImageTool Class : devpia.dextuploadnj.media.ImageTool 2022-04-13 11:24:14.204 ERROR 13472 --- [nio-8080-exec-4] FileUtil : Exception java.lang.IllegalArgumentException: input == null! at java.desktop/ja.. [Tomcat] 웹어플리케이션(WAR) 구동시 SQLServer JDBC memory leak 에러발생 톰캣 구동시 SQLServer JDBC memory leak 에러가 발생하면서 서비스 구동실패 환경정보 윈도우 서버 2012 R2 JDK 11 Tomcat 8.5 증상 catalina.log 확인결과 SQLServer JDBC memory leak 에러가 발생하면서 톰캣 서비스 구동이 실패하는 증상발생 09:34:42.476 INFO [Thread-12] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"] 09:34:42.535 INFO [Thread-12] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"] 09:.. [SQLServer] 최신 JDBC(10.2.0) 사용시 SSL(Secure Sockets Layer) 암호화 에러발생 SQL Server JDBC 10.2.0 사용하여 JAVA Application 구동시 SSL 관련 에러가 발생한다. JDBC Maven Dependency com.microsoft.sqlserver mssql-jdbc 10.2.0.jre11 에러내용 [2022-02-18 17:02:26.790] [INFO ] [restartedMain] AppStarter:59 - Started AppStarter in 12.229 seconds (JVM running for 13.207) [2022-02-18 17:02:31.032] [INFO ] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherS.. SpringBoot 시작시 com.mysql.jdbc.Driver. This is deprecated 경고메세지 발생 SpringBoot Application 실행시 'com.mysql.jdbc.Driver'. This is deprecated 경고 메세지가 발생 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2022-02-10 14:10:22.713 INFO 22372 --- [main] kr.co.app.Application : Starting Applicatio.. Base64.encodeBase64String 메서드 - Gradle 빌드에러 apache commons-codec-1.11 라이브러리에서 제공하는 Base64.encodeBase64String 메서드를 사용하면 로컬환경, STS에서는 문제없이 구동이 되었으나 Gradle compileJava 시 에러가 발생 Working Directory: C:\Users\developer\git\app Gradle user home: C:\Users\developer\.gradle Gradle Distribution: Local installation at C:\Develop\Gradle\gradle-5.5.1 Gradle Version: 5.5.1 Java Home: C:\Develop\JDK\jdk-11.0.2 JVM Arguments: None Program Arguments: None .. Apache Log4j 취약점 발견(CVE-2021-44228) Log4j 는 자바어플리케이션을 개발할때 로그를 기록해주는 라이브러리로 자바진영에서는 거의 표준처럼 사용되어 왔었다. 당연히 SpringBoot 프레임워크에서도 기본 로깅 라이브러리로 Log4j가 설정되어 있다. (정확히는 Log4j 2.x 버전이다.) 이번에 발견된 취약점은 자바의 JNDI 기능을 이용하여 데이터 탈취 및 원격으로 악성코드를 실행이 가능하다는 점이다. (위험도가 10점인 이유가 있다.;;;) 나무위키의 자세한 기록 https://namu.wiki/w/Log4j%20%EB%B3%B4%EC%95%88%20%EC%B7%A8%EC%95%BD%EC%A0%90%20%EC%82%AC%ED%83%9C?from=2021%EB%85%84%20%EC%9E%90%EB%B0%94%20%EB%B3%B4%EC%9.. 이전 1 2 3 다음 2/3