eclipse3.2 weblogic 8を統合する.12環境のspring開発構成の問題


私はeclipseにweblogicのプラグインを統合して、すでに正常に運行することができて、今springに参加して、そしてweb.xmlではWebApplicationContext初期化が構成されています.
 
<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/app/*.xml</param-value>
  </context-param>
  
  
  <servlet>
    <servlet-name>context</servlet-name>
    <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

 
 
すべて正常で、注入構成のbeanを呼び出すことができます.しかし、開発中にコードデバッグを修正し、コンパイル後に呼び出す必要がある場合は、次のエラーが発生します.サーバを再起動すれば、問題はありません.これにより、開発効率に問題があります.私のコードが1文字変更された場合、アプリケーションサービスを再起動しなければ、テストできません.すみません、皆さん、どのように配置すれば、この問題を解決できますか?
2008-09-24 15:37:07,984 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - <Closing application context [WebApplicationContext for namespace 'springapp-servlet']>
2008-09-24 15:37:07,984 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [springappController,prodMan,product1,product2,product3,messageSource,urlMapping,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [helloBean]; root of BeanFactory hierarchy}>
2008-09-24 15:37:08,484 INFO [org.springframework.web.servlet.DispatcherServlet] - <Initializing servlet 'springapp'>
2008-09-24 15:37:08,640 INFO [org.springframework.core.CollectionFactory] - <JDK 1.4+ collections available>
2008-09-24 15:37:08,671 INFO [org.springframework.core.CollectionFactory] - <Commons Collections 3.x available>
2008-09-24 15:37:08,671 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'springapp': initialization started>
<2008-9-24   15 37 08  CST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1149197,name=completeWeb,context-path=/completeWeb)] Root cause of ServletException.
java.lang.IllegalStateException: Root context attribute is not of type WebApplicationContext: org.springframework.web.context.support.XmlWebApplicationContext: display name [Root WebApplicationContext]; startup date [Wed Sep 24 15:36:27 CST 2008]; root of context hierarchy; config locations [/WEB-INF/app/*.xml]
	at org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext(WebApplicationContextUtils.java:64)
	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:250)
	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:220)
	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
	at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
	at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
	at weblogic.servlet.internal.ServletStubImpl.reloadServlet(ServletStubImpl.java:705)
	at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:685)
	at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:522)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>