進出口運行春季Hello World程序的正常工作與Eclipse,但是當我在Tomcat的運行它單獨它讓我錯誤tomcat的錯誤
rg.springframework.beans.factory.BeanCreationException:錯誤創建豆在ServletContext資源[/WEB-INF/dispatcher-servlet.xml]中定義名稱'urlMapping':使用鍵[TypedStringValue:value [/hello.html]設置bean屬性'urlMap'時,無法解析對bean'helloController'的引用,目標類型[null]];嵌套異常是org.springframework.beans.factory.CannotLoadBeanClassException:在ServletContext資源[/WEB-INF/dispatcher-servlet.xml]中定義的名稱爲'helloController'的bean找不到類[net.roseindia.web.HelloWorldController];嵌套異常是java.lang.ClassNotFoundException:net.roseindia.web.HelloWorldController
我應該在哪裏指定類路徑 – 2012-03-14 07:28:47