강의

멘토링

커뮤니티

Inflearn Community Q&A

mbsbsg1650's profile image
mbsbsg1650

asked

Java Spring Framework (renewed ver.) - Course for new programmers

My first spring project

GenericXmlApplicationContext 에서 오류가 나는 이유를 알려주십시요

Written on

·

612

0

GenericXmlApplicationContext 객체를 생성하는 코딩에서 'The type org.springframework.core.io.Resource cannot be resolved. It is indirectly referenced from required .class files' 오류가 발생합니다.

어떻게 해결해야 하는지 모르겠습니다.

답변 부탁드립니다

springjava

Answer 2

1

<bean id = "tWalk" class="TransportationWalk"></bean>
이라고 빈을 생성시키고 실행해보세요

0

GenericXmlApplicationContext ctx = new GenericXmlApplicationContext("classpath:applicationContext.xml");

이 부분을 잘 적으셨나요?.. ㅠ ㅠ

mbsbsg1650's profile image
mbsbsg1650

asked

Ask a question