BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${org.springframework-version}</version>
</dependency>
Injection of autowired dependencies failed
Could not autowire field
@Repository("iMeasureDAO") 잘못선언되어잇었음
Result Maps collection does not contain value -> Could not find result map com.spring.myapp.book.model.Measure] with root cause
Result Maps collection does not contain value for com.restful.test.model.Measure
<resultMap id="AllMemberList" type="com.restful.test.model.Measure">
<result column="seq" property="seq"/>
<result column="key" property="key"/>
<result column="contents" property="contents"/>
<result column="input_dt" property="input_dt"/>
<result column="extends" property="extends"/>
</resultMap>
<!-- parameterType="int" where seq = #{seq} -->
<select id="getMeasureList" resultMap="AllMemberList" >
select seq, key, values, input_dt, extends
from measures
</select>
위에 부분을 지정안해줌
http://hyeonstorage.tistory.com/283
'Backend > Java&Spring Framework' 카테고리의 다른 글
JAVA8 | lamda (0) | 2016.08.18 |
---|---|
spring + mybatis + ppas error message 2 (0) | 2015.07.14 |
ppas (0) | 2015.07.09 |
postgreSQL Database Cluster Initialisation Failed.... (0) | 2015.07.08 |
The ResourceConfig instance does not contain any root resource classes. (0) | 2015.07.02 |