我的web應用程序無法找到org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean類儘管在WEB-INF有org.springframework.web-3.0.2.RELEASE.jar/lib目錄。如果我在webapp中添加spring.jar(2.5.6)的舊版本,那麼就找到了這個類。任何想法,爲什麼這可能會發生,以及如何我可以解決它而不恢復到彈簧2.5.6或同時保持兩個版本的春天在同一個webapp?春3.0 web應用程序的NoClassDefFoundError - 類路徑問題
我正在部署在Tomcat 6.0.28上。
這裏的錯誤:
- 產生的原因:java.lang.NoClassDefFoundError:組織/ springframework的/遠程/ httpinvoker/HttpInvokerProxyFactoryBean
這裏是在classpath中春瓶(WEB-INF/LIB):
- org.springframework.aop-3.0.2.RELEASE.jar
- org.springframewo rk.asm-3.0.2.RELEASE.jar
- org.springframework.beans-3.0.2.RELEASE.jar
- org.springframework.context-3.0.2.RELEASE.jar
- org.springframework。核心3.0.2.RELEASE.jar
- org.springframework.expression-3.0.2.RELEASE.jar
- org.springframework.web-3.0.2.RELEASE.jar
- org.springframework.web。 servlet-3.0.2.RELEASE.jar
可能有關的questi附件:
這些罐子裏有班級嗎? – 2011-02-16 00:42:45