강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của mbsbsg1650
mbsbsg1650

câu hỏi đã được viết

Java Spring Framework (renew ver.) - Khóa học dành cho lập trình viên mới

Dự án mùa xuân đầu tiên của tôi

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

Viết

·

612

0

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

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

답변 부탁드립니다

springjava

Câu trả lời 2

1

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

0

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

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

Hình ảnh hồ sơ của mbsbsg1650
mbsbsg1650

câu hỏi đã được viết

Đặt câu hỏi