본문 바로가기 메뉴 바로가기

미선's Blog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

미선's Blog

검색하기 폼
  • 분류 전체보기 (376)
    • 공부한다 (0)
      • 2021년 (0)
      • 밥줄 (0)
    • 프로그래밍 (182)
      • 자바 (0)
      • spring (3)
      • 파이썬 (9)
      • script언어 (11)
      • WEB (23)
      • Android (101)
      • OS (16)
    • 데이터관리 (36)
      • 딥러닝 (9)
      • BlockChain (18)
    • 금융 (4)
    • 이모저모 (152)
      • IT 이모저모 (94)
      • 인물 (7)
      • 프로젝트 관련자료 (7)
    • 임시작업장 (0)
  • 방명록

Java (12)
log4j 설치 및 properties 파일 설정하기

매번 헤매는 log4j설정.. 한번은 정리해 놔야겠다...ㅎㅎㅎ 작업순서 log4j 다운로드 및 설치 설정파일 만들기 소스 코딩 및 설정파일 지정하기 ● log4j 다운로드 및 설치 아래의 사이트에서 log4j를 다운로드 한다. 다운로드 ● 설정파일 만들기 #DEBUG < INFO < WARN < ERROR < FATAL # Log4j Setting file log4j.rootLogger=DEBUG, logfile, console # Daily file log log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.logfile.File=/home/dart/klca/logs/klca.log log4j.appender...

이모저모/IT 이모저모 2011. 11. 10. 13:52
WAR (Web application ARchieve) file

WAR (Web application ARchieve) file 이란? JAR 파일로 웹 어플리케이션을 구성하는 JSP, Servelts, Java classes, XML 파일, tag 라이브러리, HTML과 같은 정적 웹 페이지 등을 배포하기 위해 사용된다. 단점 WAR 파일을 사용한 웹 배포의 단점은 매우 동적인 환경에서 작은 변경등을 실행하는 동안 적용할 수 없다. 어떤 요청 변경이 일어났더라고 다시 전체 WAR를 재 배포해야 한다. exploded archive 대부분의 JEE 웹 컨테이너는 웹 어플리케이션이 하나의 파일이 아닌 디렉토리처럼 배포되는 것을 허용한다. 이것이 exploded archive 이다. exploded archive는 개발단계동안 신속하게 웹 애플리케이션의 변경을 테스트 하..

이모저모/IT 이모저모 2011. 8. 1. 10:57
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

이클립스에서 프로젝트를 실행시키는데 에러가 났다. 분명 다른 노트북에서는 잘 돌아가는 소스인데...원인은 바로.. Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(..

프로그래밍 2011. 6. 23. 09:49
자바 byte[] to String,

byte[] 를 String으로 변환하기 byte[] fl_bd = (byte[])map.get("FL_BD");//내용 가져오기 String contents= new String(fl_bd,"MS949"); java.lang.String.String(byte[] bytes, String charsetName) throws UnsupportedEncodingException Constructs a new String by decoding the specified array of bytes using the specified charset. The length of the new String is a function of the charset, and hence may not be equal to the ..

프로그래밍 2011. 3. 10. 14:10
stream

스트림(stream) 데이터를 바이트 단위로 순차적으로 입출력하는 흐름 시작점(source)과 종료점(sink)를 가지고 있다. => 흐르는 방향은 생성 시점에서 단일 방향으로 고정 파일 입출력의 기본 자바 스트림 자바 언어는 모든 파일을 순차적인 바이트의 배열, 즉 InputStream, OutputStream 클래스로 제공되는 스트림으로 처리한다. ■ 스트림 종류 입력스트림 : 시작점을 생성자의 인자값 출력스트림 : 종료점을 생정자의 인자값 필터스트림 : 스트림을 가공, 버퍼, 반환형, 라인, 데이터 등 ■ 입출력 클래스의 계층구조 참조(http://download.oracle.com/javase/6/docs/api/java/io/package-tree.html) 자바 표준 스트림(Standart J..

프로그래밍 2011. 3. 10. 13:18
자바 char 데이타 타입

The char data type (and therefore the value that a Character object encapsulates) are based on the original Unicode specification, which defined characters as fixed-width 16-bit entities. The Unicode standard has since been changed to allow for characters whose representation requires more than 16 bits. The range of legal code points is now U+0000 to U+10FFFF, known as Unicode scalar value. (Ref..

프로그래밍 2011. 3. 8. 19:47
[우분투] 자바 1.5 버전 설치 및 환경설정

우분투버전 : Ubuntu 10.10 1.저장소 추가하기 sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse" sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse" 이 명령을 실행하면 /etc/apt/source.list 에 추가된다. " " 와 “ ” 의 차이 텍스트 창에 입력해 놓은 것을 그대로 실행시켰더니 계속 오류가 났었다. 알고보니 " " 와 “ ” 의 차이때문에 발생한 오류...ㅠㅠ (sudo add-apt-repository “deb http://us.archive.ubuntu.com..

프로그래밍/OS 2011. 1. 14. 16:17
[환경설정] JDK 설치

1> JDK 다운로드 2> 시스템 변수 등록(JAVA_HOME) 및 수정(Path) 3> JDK 설치 확인 1> JDK 다운로드http://www.oracle.com/technetwork/java/javase/downloads/index.html 2> 시스템 변수 등록(JAVA_HOME) 및 수정(Path) 새 시스템 변수 등록하기 시스템 변수 수정하기 3> JDK 설치 확인java -version

프로그래밍 2010. 12. 13. 16:06
Eclipse for Hadoop Development

참고 http://hadoop.apache.org/ Hadoop on Windows with Eclipse Hadoop 이란? The Apache Hadoop project develops open-source software for reliable, scalable, distributed computing. 대용량 데이타 분산 처리를 위한 Map Reduce 프레임웍을 구현 기본환경 Java 1.6 Eclipse Europa 3.3.2 Eclipse for Hadoop Development from Cloudera on Vimeo.

이모저모/IT 이모저모 2010. 12. 9. 16:10
자바 Thread 쓰레드 사용법

쓰레드란? 하나의 프로세스안에서 쪼개진 태스크이다. 행위중심 같은 메모리를 공유 왜 run이 아니라 start로 실행하나? OS가 스케줄링하여 run을 호출하기 때문이다. 자바의 쓰레드 사용법 2가지 extends java.lang.Thread (Thread 클래스를 상속받거나) implements java.lang.Runnable (Runnable 인터페이스를 구현하거나) 왜? 자바는 다중상속이 불가능하다. 따라서 이미 상속받은 클래스를 쓰레드화 시커야 할 때 인터페이스를 사용한다. Thread 클래스를 상속받아 구현하기 class ThreadTest extends Thread { public ThreadTest(String name) { super(name); // Thread 에 이름을 부여하여 생..

프로그래밍 2010. 12. 8. 19:53
[에러노트] com.ibatis.common.beans.ProbeException

[2010/11/25 14:00:10.968] Caused by: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: "" .... [발생위치] #answersMap[]# ) [원인] #answersMap[]# ) property명은 answers라고 선언하고선 #answersMap[]# 라고 쓰니...당연 오류.. 헌데 오류메시지는 전혀 예측할 수 없는 엉뚱한 부분이라.. protected Object getIndexedProperty(Object object, String indexedName) { ... ..

프로그래밍 2010. 11. 30. 15:39
[Eclipse] eclipse 에 jad 설치하기

■ jad.exe 설치 jad: http://www.varaneckas.com/jad jad.exe 를 C:\WINDOWS\system32 에 복사한다. DOS 창에서 확인하기 ■ 이클립스 플러그인 설치 Work with : JD-Eclipse - http://java.decompiler.free.fr/jd-eclipse/update/ Install : Java Decompiler Eclipse Plug-in

이모저모/IT 이모저모 2010. 11. 30. 15:22
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
TAG
  • 오라클
  • Spring 3
  • SQLite
  • Android
  • 이클립스
  • App Widgets
  • Spring
  • 애플
  • html5
  • Java
  • 블록체인
  • google I/O
  • OS
  • Tools
  • Eclipse
  • head first python
  • 환경설정
  • WAC
  • 안드로이드
  • Head First jQuery
  • IT
  • WebView
  • jQuery
  • Bitcoin
  • 신문스크랩
  • oracle
  • 인물
  • UML
  • IT 신문스크랩
  • chrome
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바