Java
-
Java 디컴파일 처리Java 2024. 2. 20. 10:12
.class 파일로만 된 파일들을 .java로 치환해야할 일이 생겼다. JD-GUI , Fernflow 등 여러 디컴파일러가 있지만 CFR 라이브러리를 사용해 봤다. https://www.benf.org/other/cfr/ CFR - yet another java decompiler. CFR - another java decompiler CFR will decompile modern Java features - up to and including much of Java 9, 12 & 14, but is written entirely in Java 6, so will work anywhere! (FAQ) - It'll even make a decent go of turning class files from..
-
Spring3에서 Procedure의 값 리턴 받기Java/Spring 2020. 7. 3. 17:03
-- Service 구현 단 HashMap으로 프로시저에 들어갈 컬럼에 값을 넣는다. Map map = new HashMap(); map.put("param_컬럼1", VO.get변수1()); map.put("param_컬럼2", VO.get변수2()); map.put("param_컬럼3", VO.get변수3()); map.put("param_컬럼4", ""); map.put("param_컬럼5", ""); 프로시저에 map을 보내고 string 형태의 리턴받을 변수 resultMessage에 리턴 받을 컬럼.toString()으로 값을 담는다. ServiceDAO.getSqlMapClientTemplate().queryForObject("프로시저호출명", map); string resultMessage..
-
JDK13, OpenJDK13 DownloadJava 2019. 10. 15. 15:08
JDK13 다운로드 링크 jdk 13 - https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html Java SE Development Kit 13 - Downloads Java SE Development Kit 13 Downloads Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications, and components using the Java programming lang..
-
자바 Java - 야구게임, 자판기 만들기Java 2019. 3. 13. 13:55
package chapter02.ex; import java.util.Scanner; public class Test { public static void main(String[] args) { //입력받을 변수 하나를 정수로 입력받고 곱셈한 결과를 담을 변수 하나를 0으로 초기화 //for문으로 1~9까지 반복하고 입력받은 값의 변수와 for문에 사용되는 i를 곱함으로써 //입력받은 단수로 1~9까지의 곱셈 가능, 결과물은 result에 저장하여 출력 //Scanner scan = new Scanner(System.in); //int num = scan.nextInt(); //int result = 0; // //for(int i=1; i
-
An internal error occurred during: "Updating status for Tomcat v8.0 Server at localhost...". java.lang.IndexOutOfBoundsExceptionJava/Spring 2018. 10. 4. 09:48
1. servlet Version이 맞는지 확인한다. 2. web.xml에 servlet 버전이 맞는지 확인한다. 3. maven dependency 추가 후 일어난 에러면 pom.xml에서 추가한 dependency의 version을 낮춰서 maven 업데이트 후 실행한다.