お世話になります。
ただいまspringの勉強をしており、ライブラリの追加のところで躓いております。
どなたかご教授ください。
勉強中サイト抜粋
URL:http://libro.tuyano.com/index3?id=9616003&page=4
package com.tuyano.libro; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class App { public static void main(String[] args) { ApplicationContext app = new ClassPathXmlApplicationContext("bean.xml"); SampleBeanInterface bean1 = (SampleBeanInterface)app.getBean("bean1"); System.out.println(bean1); } }
上記のimportを成功させるには何を追加すればよいでしょうか?
現在sts2.7をネットからダウンロードしておりそのフォルダ構成が以下のような状態で、その下にjarがいくつかあります。
springsource - maven-2.2.1.RELEASE spring-roo-1.1.4.RELEASE sts-2.7.0.RELEASE vfabric-tc-server-developer-2.5.0.RELEASE
それらjarをビルドパスに追加すればいいのか? と考えておりますがよくわかりません。
どうすればよいでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/04/07 16:16 編集
2016/04/07 16:19 編集
2016/04/07 16:32
2016/04/09 05:45
2016/04/09 06:07