본문 바로가기
Framework/Mybatis

Request processing is failed 오류

by 나비와꽃기린 2018. 12. 13.


Mybatis 설정 후, Controller -> Service -> DAO -> DATA 가져오는지 TEST 시도


다음과 같은 Error가 발생했다.



java.lang.NullPointerException






javax.servlet.ServletException : javax.portlet.PortletException : Request processing is failed


     RequestContextListener추가 후 난 에러







결과적으로는 tx가 없어서 그랬다.



<beans xmlns="http://www.springframework.org/schema/beans"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"

      xmlns:context="http://www.springframework.org/schema/context"

    xmlns:util="http://www.springframework.org/schema/util"

    xmlns:tx="http://www.springframework.org/schema/tx"

    xmlns:mvc="http://www.springframework.org/schema/mvc"

      xsi:schemaLocation="

        http://www.springframework.org/schema/beans

        http://www.springframework.org/schema/beans/spring-beans.xsd

        http://www.springframework.org/schema/context

        http://www.springframework.org/schema/context/spring-context.xsd

        http://www.springframework.org/schema/util

        http://www.springframework.org/schema/util/spring-util.xsd

        http://www.springframework.org/schema/tx

            http://www.springframework.org/schema/tx/spring-tx.xsd

        http://www.springframework.org/schema/mvc

        http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">



댓글0