[JAVA] split 세로바(|)

String aa = "/|R|00010300|3|302040300|302040100|301040100|R|/";

문자열이 위와 같고 | 로 나눌때
split("|")로 하면 원하는 결과가 나오지 않는다

split의 파라미터가 정규표현식 문자열이기 때문에

다음과 같이 해줘야 된다

String[] arr = aa.split("\\|");
for(int i = 0; i < arr.length; ++i) {
    out.println(arr[i] + "<br />");
}

Posted by incree

2013/03/28 14:44 2013/03/28 14:44
,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/206

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

mapper 설정
<insert id="insert" parameterType="DischargeLoggingVo" useGeneratedKeys="true" keyProperty="seq">
        INSERT INTO discharge_logging (
                wire_id
                ,power_equip_code
                ,start_time
                ,end_time
                ,log_term
                ,vol_down1
                ,vol_down2
                ,vol_down3
                ,reg_time)
        VALUES (
                #{wire_id}
                ,#{power_equip_code}
                ,#{start_time}
                ,#{end_time}
                ,#{log_term}
                ,#{vol_down1}
                ,#{vol_down2}
                ,#{vol_down3}
                ,GETDATE())
    </insert>

자동증가되어 입력된 seq 값이 DischargeLoggingVo 의 seq 프로퍼티에 세팅된다
따라서 자바에서는 아래처럼 해당 값을 가져오면 된다.



java dao
public long insert(DischargeLoggingVo vo) { 
int insertedNum = sqlSessionFactory.openSession(true).insert(getInsertMapper(this.getClass().getName()), vo);
        return vo.getSeq();
    }

Posted by incree

2013/03/28 12:07 2013/03/28 12:07
, , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/205

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

[JAVA] 전자정보 프레임워크 정보

jsp 컴파일 경로
D:\developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\biowet\org\apache\jsp\WEB_002dINF

Posted by incree

2012/11/26 04:38 2012/11/26 04:38
, ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/178

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

[JAVA] 특정 폴더내의 파일탐색

package egovframework.iwt.cmm;

import java.io.File;
import java.util.ArrayList;

public class FileUtil {

    public static void getFileList(File targetPath, ArrayList arr) {
        if(targetPath.isDirectory()) {
            String [] fl = targetPath.list();
            File tmpFile = null;
            long nTmp;
            int filecnt = 0;

            for(int i = 0; i < fl.length; i++) {
                tmpFile = new File(targetPath.getAbsolutePath() + "/" + fl[i]);
                if(tmpFile.isDirectory()) {
                    getFileList(tmpFile, arr);
                }
                else {
                    arr.add(targetPath.getAbsolutePath()+"/"+fl[i]);
                }
            }
    
        }
        else {
            arr.add(targetPath.getAbsolutePath() + targetPath.getName());
        }
    }
}

todo
필터하는 기능 - 확장자, 시간, 파일명등..

Posted by incree

2012/11/22 18:48 2012/11/22 18:48
,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/174

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

[JAVA] class의 method 모두 찾기

package egovframework.iwt.cmm;

import java.lang.reflect.Method;
import java.util.List;

public class ClassUtil {
    public ClassVo[] getMethosFromClassNames(String[] classNames) {
        if(classNames == null) return new ClassVo[0];

        Class[] classes = new Class[classNames.length];

        ClassLoader classLoader = ClassLoader.getSystemClassLoader();
        for(int i =0; i < classNames.length; i++ ) {
            try {
                classes[i] = classLoader.loadClass(classNames[i]);
            }
            catch(ClassNotFoundException cnfe) {
                cnfe.printStackTrace();
                classes[i] = ClassNotFoundException.class;
            }
        }

        return getMethosFromClasses(classes);
    }

    public ClassVo[] getMethosFromClasses(Class[] classes) {
        if(classes == null) return new ClassVo[0];

        ClassVo[] classVoArr = new ClassVo[classes.length];
        for(int i =0; i < classes.length; i++ ) {
            classVoArr[i] = new ClassVo();
            classVoArr[i].setClassName(classes[i].getName());
            classVoArr[i].setMethods(classes[i].getDeclaredMethods());
        }
        
        return classVoArr;
    }

    public static void main(String[] args) {
        String[] classNames = {"egovframework.com.cmm.ComDefaultCodeVO"
                               ,"egovframework.com.cmm.ComDefaultVO"};
        ClassUtil classUtil = new ClassUtil();
        ClassVo[] classVoArr = classUtil.getMethosFromClassNames(classNames);
        for(int i = 0; i < classVoArr.length; ++i) {
            System.out.println(classVoArr[i].getClassName());
            System.out.println("\t* 설명 : ");
            System.out.println("\t* 메소드 : ");
            Method[] methods = classVoArr[i].getMethods();
            for(int j = 0; j < methods.length; ++j) {
                try {
                    System.out.println("\t\t" + methods[j].getReturnType().getSimpleName() + " " + methods[j].getName() + "()");
                    System.out.println("\t\t");
                    System.out.println("\t\t");
                }
                catch(ArrayIndexOutOfBoundsException aiob) {
                    
                }
            }
        }
    }

    public class ClassVo {
        private String packageString;
        private String className;
        private Method[] methods;
        public String getPackageString() {
            return packageString;
        }
        public void setPackageString(String packageString) {
            this.packageString = packageString;
        }
        public String getClassName() {
            return className;
        }
        public void setClassName(String className) {
            this.className = className;
        }
        public Method[] getMethods() {
            return methods;
        }
        public void setMethods(Method[] methods) {
            this.methods = methods;
        }
    }
}

Posted by incree

2012/11/22 18:45 2012/11/22 18:45
, ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/173

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

spring security 삭제하기

web.xml에서
    <filter>
        <filter-name>springSecurityFilterChain</filter-name>
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    </filter>
    <filter>
        <filter-name>EgovSpringSecurityLogoutFilter</filter-name>
        <filter-class>egovframework.com.sec.security.filter.EgovSpringSecurityLogoutFilter</filter-class>
      </filter>
    <filter>
        <filter-name>EgovSpringSecurityLoginFilter</filter-name>
        <filter-class>egovframework.com.sec.security.filter.EgovSpringSecurityLoginFilter</filter-class>
        <init-param>
            <description>로그인 실패시 반활 될 URL설정</description>
            <param-name>loginURL</param-name>
            <param-value>/uat/uia/egovLoginUsr.do</param-value>
        </init-param>
      </filter>
    <filter-mapping>
        <filter-name>springSecurityFilterChain</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>EgovSpringSecurityLogoutFilter</filter-name>
        <url-pattern>/uat/uia/actionLogout.do</url-pattern>
      </filter-mapping>
    <filter-mapping>
        <filter-name>EgovSpringSecurityLoginFilter</filter-name>
        <url-pattern>*.do</url-pattern>
      </filter-mapping>

이 부분 주석처리








EgovUserDetailsSecurityServiceImpl.java


package egovframework.com.sec.ram.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.security.Authentication;
import org.springframework.security.GrantedAuthority;
import org.springframework.security.context.SecurityContext;
import org.springframework.security.context.SecurityContextHolder;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;

import egovframework.com.cmm.service.EgovUserDetailsService;
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
import egovframework.rte.fdl.string.EgovObjectUtil;



public class EgovUserDetailsSecurityServiceImpl extends AbstractServiceImpl implements EgovUserDetailsService {

   
    /**
     * 인증된 사용자객체를 VO형식으로 가져온다.
     * @return Object - 사용자 ValueObject
     */
    public Object getAuthenticatedUser() {
       
        return RequestContextHolder.getRequestAttributes().getAttribute("loginVO", RequestAttributes.SCOPE_SESSION);
        /*
        SecurityContext context = SecurityContextHolder.getContext();
        Authentication authentication = context.getAuthentication();
       
        if (EgovObjectUtil.isNull(authentication)) {
            // log.debug("## authentication object is null!!");
            return null;
        }
       
        Object principal = authentication.getPrincipal();
       
        if(principal instanceof EgovUserDetails){
           
            // log.debug("## EgovUserDetailsHelper.getAuthenticatedUser : AuthenticatedUser is " + details.getUsername());           
            EgovUserDetails details = (EgovUserDetails)principal;
            return details.getEgovUserVO();
           
        }else{
            // log.debug("## EgovUserDetailsHelper.getAuthenticatedUser : principal is not type of EgovUserDetails);
            return null;
        }
        */
       
    }

   
    /**
     * 인증된 사용자의 권한 정보를 가져온다.
     * 예) [ROLE_ADMIN, ROLE_USER, ROLE_A, ROLE_B, ROLE_RESTRICTED, IS_AUTHENTICATED_FULLY, IS_AUTHENTICATED_REMEMBERED, IS_AUTHENTICATED_ANONYMOUSLY]
     * @return List - 사용자 권한정보 목록
     */
    public List<String> getAuthorities() {
        List<String> listAuth = new ArrayList<String>();
       
        SecurityContext context = SecurityContextHolder.getContext();
        Authentication authentication = context.getAuthentication();
       
        if (EgovObjectUtil.isNull(authentication)) {
            // log.debug("## authentication object is null!!");
            return null;
        }
       
        GrantedAuthority[] authorities = authentication.getAuthorities();

        for (int i = 0; i < authorities.length; i++) {
            listAuth.add(authorities[i].getAuthority());

            // log.debug("## EgovUserDetailsHelper.getAuthorities : Authority is " + authorities[i].getAuthority());
        }

        return listAuth;
    }
   
    /**
     * 인증된 사용자 여부를 체크한다.
     * @return Boolean - 인증된 사용자 여부(TRUE / FALSE)   
     */

    public Boolean isAuthenticated() {
        if (RequestContextHolder.getRequestAttributes() == null) {
            return false;
        } else {

            if (RequestContextHolder.getRequestAttributes().getAttribute(
                    "loginVO", RequestAttributes.SCOPE_SESSION) == null) {
                return false;
            } else {
                return true;
            }
        }

        /*
        SecurityContext context = SecurityContextHolder.getContext();
        Authentication authentication = context.getAuthentication();
       
        if (EgovObjectUtil.isNull(authentication)) {
            // log.debug("## authentication object is null!!");
            return Boolean.FALSE;
        }
       
        String username = authentication.getName();
        if (username.equals("roleAnonymous")) {
            // log.debug("## username is " + username);
            return Boolean.FALSE;
        }

        Object principal = authentication.getPrincipal();
       
        return Boolean.valueOf(!EgovObjectUtil.isNull(principal));
        */
    }

}

Posted by incree

2012/10/20 00:44 2012/10/20 00:44
,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/167

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

[JAVA] eclipse 설정

사용자 삽입 이미지

사용자 삽입 이미지
사용자 삽입 이미지

servers 탭의 해당하는 tomcat 선택 후 -> F3 -> Overview - General Information 하단의 Open launch configuration 클릭 후
Edit Configuration 창의 Arguments 탭을 선택 후 VM arguments: 입력란의 마지막 라인에

-XX:PermSize=256m -XX:MaxPermSize=256m

Posted by incree

2012/07/11 01:14 2012/07/11 01:14
, ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/140

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

jdk1.6.0_33
apache-tomcat-6.0.35
eGovFrameDev-2.0.1-FullVer
oracle 11gR2

백업기능 확인, 게시판 RSS 확인 (RSS 태그 관리는 머??)

1. eclipse.ini
-product
org.eclipse.epp.package.jee.product
다음에
-vm
C:\Program Files\Java\jdk1.6.0_33\bin\javaw.exe
추가 - JVM 경로


2. maven repository, settings  다운로드(http://www.egovframe.org/wiki/doku.php?id=egovframework:dev2:gettingstarted)

settings.xml의 localRepository 수정
<localRepository> [MavenRepository 설치디렉토리]/repository </localRepository>

elipse Window -> Preferences -> Maven -> User Settings
사용자 삽입 이미지
3. eGovFrame Web Project 생성, Tomcat 서버 추가
  1) .Data Source Ex에서 Database Connections 추가
=> Specify a Driver Template And Definition Name -> JAR List 에서
기존 ojdbc14.jar 삭제하고 Add JAR/Zip에서 maven repository에 받아둔 ojdbc 추가
(위에서 만들어 놓은 프로젝트 pom.xml 파일에
<repository>
        <id>mesir-repo</id>
        <url>http://mesir.googlecode.com/svn/trunk/mavenrepo</url>
    </repository>


    <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>ojdbc14</artifactId>
      <version>10.2.0.4.0</version>
    </dependency>
이 내용 추가해서 프로젝트 오른쪽 버튼 -> Run As -> Maven Build -> Run
=> ojdbc  받기 위한 용도 이므로 에러나도 상관없다
)
2) eGovFrame Common Component 추가

4. maven build
1) [ERROR] Unable to locate the Javac Compiler in:
  C:\Program Files (x86)\Java\jre6\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
window -> preference -> java -> installed jre
C:\Program Files (x86)\Java\jre6
=>
C:\Program Files (x86)\Java\jdk1.6.0_33\jre
로 수정

2)[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[6,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[7,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[8,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[9,31] package javax.servlet.jsp.tagext does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[29,43] cannot find symbol
symbol: class BodyTagSupport
public class EgovComCrossSiteHndlr extends BodyTagSupport {
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[89,32] cannot find symbol
symbol  : class JspException
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[128,30] cannot find symbol
symbol  : class JspException
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[162,24] cannot find symbol
symbol  : class PageContext
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[194,25] cannot find symbol
symbol  : class PageContext
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[208,64] cannot find symbol
symbol  : class JspWriter
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[81,2] cannot find symbol
symbol  : variable super
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[92,6] cannot find symbol
symbol  : variable bodyContent
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[95,2] cannot find symbol
symbol  : class JspWriter
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[95,18] cannot find symbol
symbol  : variable pageContext
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[104,11] cannot find symbol
symbol  : variable SKIP_BODY
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[109,12] cannot find symbol
symbol  : variable EVAL_BODY_BUFFERED
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[117,9] cannot find symbol
symbol  : variable pageContext
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[120,11] cannot find symbol
symbol  : variable SKIP_BODY
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[123,13] cannot find symbol
symbol  : class JspException
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[132,11] cannot find symbol
symbol  : variable EVAL_PAGE
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[136,7] cannot find symbol
symbol  : variable bodyContent
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[136,30] cannot find symbol
symbol  : variable bodyContent
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[141,8] cannot find symbol
symbol  : variable pageContext
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[141,32] cannot find symbol
symbol  : variable bodyContent
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[144,10] cannot find symbol
symbol  : variable EVAL_PAGE
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[146,13] cannot find symbol
symbol  : class JspException
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[164,2] cannot find symbol
symbol  : class JspWriter
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[196,2] cannot find symbol
symbol  : class JspWriter
location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[INFO] 28 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.135s
[INFO] Finished at: Mon Jun 25 14:37:09 KST 2012
[INFO] Final Memory: 14M/46M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project drugsafe: Compilation failure: Compilation failure:
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[6,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[7,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[8,24] package javax.servlet.jsp does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[9,31] package javax.servlet.jsp.tagext does not exist
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[29,43] cannot find symbol
[ERROR] symbol: class BodyTagSupport
[ERROR] public class EgovComCrossSiteHndlr extends BodyTagSupport {
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[89,32] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[128,30] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[162,24] cannot find symbol
[ERROR] symbol  : class PageContext
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[194,25] cannot find symbol
[ERROR] symbol  : class PageContext
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[208,64] cannot find symbol
[ERROR] symbol  : class JspWriter
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[81,2] cannot find symbol
[ERROR] symbol  : variable super
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[92,6] cannot find symbol
[ERROR] symbol  : variable bodyContent
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[95,2] cannot find symbol
[ERROR] symbol  : class JspWriter
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[95,18] cannot find symbol
[ERROR] symbol  : variable pageContext
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[104,11] cannot find symbol
[ERROR] symbol  : variable SKIP_BODY
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[109,12] cannot find symbol
[ERROR] symbol  : variable EVAL_BODY_BUFFERED
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[117,9] cannot find symbol
[ERROR] symbol  : variable pageContext
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[120,11] cannot find symbol
[ERROR] symbol  : variable SKIP_BODY
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[123,13] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[132,11] cannot find symbol
[ERROR] symbol  : variable EVAL_PAGE
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[136,7] cannot find symbol
[ERROR] symbol  : variable bodyContent
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[136,30] cannot find symbol
[ERROR] symbol  : variable bodyContent
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[141,8] cannot find symbol
[ERROR] symbol  : variable pageContext
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[141,32] cannot find symbol
[ERROR] symbol  : variable bodyContent
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[144,10] cannot find symbol
[ERROR] symbol  : variable EVAL_PAGE
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[146,13] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[164,2] cannot find symbol
[ERROR] symbol  : class JspWriter
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] \developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\com.increeworks.egov.drugsafe\src\main\java\egovframework\com\cmm\EgovComCrossSiteHndlr.java:[196,2] cannot find symbol
[ERROR] symbol  : class JspWriter
[ERROR] location: class egovframework.com.cmm.EgovComCrossSiteHndlr
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
pom.xml에
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <scope>provided</scope>
            <version>2.5</version>
        </dependency>
       
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <scope>provided</scope>
            <version>2.1</version>
        </dependency>
추가(난 servlet-api는 있었다)

5. Run As => Run On Server
1) 정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_33\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files (x86)\IDM Computer Solutions\UltraCompare\;
tcnative-1.dll 파일이 없어서 나는 에러
http://tomcat.heanet.ie/native/1.1.6/binaries/win32/ 에서 해당 파일을 다운 받은 후
Path에 지정된 디렉토리에 넣는다(난 톰캣의 bin에 넣고 해당 경로를 path에 추가했음)

2) 정보: validateJarFile(D:\developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\com.increeworks.egov.drugsafe\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    ... 33 more
2012. 6. 26 오후 4:09:32 org.apache.catalina.core.StandardContext loadOnStartup
심각: Servlet /drugsafe threw load() exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012. 6. 26 오후 4:09:33 org.apache.catalina.loader.WebappClassLoader validateJarFile
정보: validateJarFile(D:\developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\com.increeworks.egov.drugsafe\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2012. 6. 26 오후 4:09:33 org.apache.catalina.core.ApplicationContext log
정보: Initializing Spring root WebApplicationContext
2012. 6. 26 오후 4:09:33 org.apache.catalina.core.ApplicationContext log
정보: Initializing Spring FrameworkServlet 'action'
2012. 6. 26 오후 4:09:34 org.apache.catalina.core.ApplicationContext log
심각: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    ... 33 more
2012. 6. 26 오후 4:09:34 org.apache.catalina.core.StandardContext loadOnStartup
심각: Servlet /commoncomponenttest threw load() exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012. 6. 26 오후 4:09:34 org.apache.coyote.http11.Http11Protocol start
정보: Starting Coyote HTTP/1.1 on http-8080
2012. 6. 26 오후 4:09:34 org.apache.jk.common.ChannelSocket init
정보: JK: ajp13 listening on /0.0.0.0:8009
2012. 6. 26 오후 4:09:34 org.apache.jk.server.JkMain start
정보: Jk running ID=0 time=0/32  config=null
2012. 6. 26 오후 4:09:34 org.apache.catalina.startup.Catalina start
정보: Server startup in 3727 ms
2012. 6. 26 오후 4:09:35 org.apache.catalina.core.StandardWrapperValve invoke
심각: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
    at org.apache.jsp.egovDevIndex_jsp._jspInit(egovDevIndex_jsp.java:22)
    at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
    at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
2012. 6. 26 오후 4:09:36 org.apache.catalina.core.ApplicationDispatcher invoke
심각: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /code500.jsp(2,62) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/developer/javadev/eGovFrameDev-2.0.1-FullVer/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/com.increeworks.egov.drugsafe/WEB-INF/lib/jstl-1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:218)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:183)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:450)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1397)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:130)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
    at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
    at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
2012. 6. 26 오후 4:09:36 org.apache.catalina.core.StandardHostValve custom
심각: Exception Processing ErrorPage[errorCode=500, location=/code500.jsp]
org.apache.jasper.JasperException: /code500.jsp(2,62) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/developer/javadev/eGovFrameDev-2.0.1-FullVer/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/com.increeworks.egov.drugsafe/WEB-INF/lib/jstl-1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:218)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:183)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:450)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1397)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:130)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
    at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
    at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
프로젝트에서 사용하는 sevlet-api.jar, jsp-api.jar 이 톰캣 lib에 있는 파일과 충돌해서
발생하는 문제. 프로젝트에서 사용하는 파일을 삭제후 톰캣 재 실행
(난 D:\developer\javadev\eGovFrameDev-2.0.1-FullVer\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\com.increeworks.egov.drugsafe\WEB-INF\lib 에 있었음)

6. 간혹 Deployment Assembly가 제대로 세팅이 안돼 에러가 나는 경우가 있다
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    ... 33 more
2012. 6. 26 오후 4:13:10 org.apache.catalina.core.StandardContext loadOnStartup
심각: Servlet /drugsafe threw load() exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012. 6. 26 오후 4:13:10 org.apache.catalina.core.ApplicationContext log
정보: Initializing Spring root WebApplicationContext
2012. 6. 26 오후 4:13:10 org.apache.catalina.core.ApplicationContext log
정보: Initializing Spring FrameworkServlet 'action'
2012. 6. 26 오후 4:13:11 org.apache.catalina.core.ApplicationContext log
심각: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    ... 33 more
2012. 6. 26 오후 4:13:11 org.apache.catalina.core.StandardContext loadOnStartup
심각: Servlet /commoncomponenttest threw load() exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012. 6. 26 오후 4:13:11 org.apache.coyote.http11.Http11Protocol start
정보: Starting Coyote HTTP/1.1 on http-8080
2012. 6. 26 오후 4:13:11 org.apache.jk.common.ChannelSocket init
정보: JK: ajp13 listening on /0.0.0.0:8009
2012. 6. 26 오후 4:13:11 org.apache.jk.server.JkMain start
정보: Jk running ID=0 time=0/27  config=null
2012. 6. 26 오후 4:13:11 org.apache.catalina.startup.Catalina start
정보: Server startup in 3708 ms
2012. 6. 26 오후 4:13:12 org.apache.catalina.core.ApplicationContext log
정보: Initializing Spring FrameworkServlet 'action'
2012. 6. 26 오후 4:13:12 org.apache.catalina.core.ApplicationContext log
심각: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:615)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
    at org.apache.jsp.egovDevIndex_jsp._jspService(egovDevIndex_jsp.java:57)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    ... 43 more
2012. 6. 26 오후 4:13:12 org.apache.catalina.core.ApplicationDispatcher invoke
심각: Allocate exception for servlet action
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:615)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
    at org.apache.jsp.egovDevIndex_jsp._jspService(egovDevIndex_jsp.java:57)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
2012. 6. 26 오후 4:13:12 org.apache.catalina.core.StandardWrapperValve invoke
심각: Servlet.service() for servlet jsp threw exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'egovFileIdGnrService' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:266)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)
    at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
    at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:615)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:709)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:680)
    at org.apache.jsp.egovDevIndex_jsp._jspService(egovDevIndex_jsp.java:57)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
사용자 삽입 이미지
/src/main/resources => WEB-INF/classes
필요한 경우
/src/test/java => WEB-INF/classes
/src/test/resources => WEB-INF/classes 도 추가해 준다





java.lang.OutOfMemoryError: PermGen space

servers 탭의 해당하는 tomcat 선택 후 -> F3 -> Overview - General Information 하단의 Open launch configuration 클릭 후
Edit Configuration 창의 Arguments 탭을 선택 후 VM arguments: 입력란의 마지막 라인에

-XX:PermSize=256m -XX:MaxPermSize=256m




기타 에러(이클립스 재시작하거나 멀쩡하던 프로젝트에서 갑자기 에러가 날때)
Error creating bean with name 'egov.exceptionTransfer 등등 에러시
1. Project > Clean
2. Servers 뷰에서 톰캣을 선택합니다. 오른버튼 컨텍스트 메뉴에서 Clean..을 선택합니다.
같은 컨텍스트 메뉴에서 Clean Tomcat Work Directory...선택
출처 : http://www.okjsp.pe.kr/seq/189412
주의 : 클릭후 5번의 sevlet-api.jar, jsp-api.jar 두 파일 삭제해야 된다


========= 공통 컴포넌트 ==============
http://www.egovframe.go.kr/Egovcmm.jsp - 공통 컴포넌트 맵

공통
게시판 => 게시판 템플릿, 게시판, 만족도조사
전자우편
온라인헬프 => FAQ관리, Q&A관리
정보제공/알림 => 뉴스관리, 팝업창 관리, 메인이미지관리
달력
인쇄/출력 => 유틸리티
웹에디터
시스템 => 시스템

Posted by incree

2012/06/25 14:23 2012/06/25 14:23
,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/135

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

Facebook signed request 파싱하는 api가 없어서

http://www.postitcode.com/post/2991875106/facebook-java-parsing-signed-request

요기를 참고해서 만들어 봤다

입맛에 맞게 약간만 수정했음

JSONObject 는 http://www.json.org/java/index.html 여기 api



Posted by incree

2012/01/19 01:12 2012/01/19 01:12
, , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/88

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다


Notices

Archives

Authors

  1. incree

Recent Trackbacks

Calendar

«   2017/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28        

Site Stats

Total hits:
389669
Today:
4
Yesterday:
144