java.lang.ClassNotFoundException: org.springframework.web.portlet.DispatcherPortlet
来源:互联网 发布:淘宝豆豆鞋 编辑:程序博客网 时间:2024/06/05 14:49
I met this error when I integrate Spring with iBatis. The problem is it misses spring-webmvc-portlet.jar. The solution is also very easy, we just need to add the jar into our maven pom.xml file.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
Then, it'll work!
I searched online, someone said it also relates with different version of jars. If the lib in your tomcat/lib/ext folder conflicts with the lib in your project, delete them. IMO, it's better to use dependency to add external jars.
- java.lang.ClassNotFoundException: org.springframework.web.portlet.DispatcherPortlet
- java.lang.ClassNotFoundException: org.springframework.web.portlet.DispatcherPortlet
- Java中java.lang.ClassNotFoundException: org.springframework.web异常
- 异常:java.lang.ClassNotFoundException: org.springframework.web.jsf.DelegatingVariableResolver
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 问题原因。
- 关于java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener错误解决方案
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- maven项目 报:java.lang.ClassNotFoundException: org.springframework.web.context...
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
- 解决java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoader
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL
- Sqlserver2008 for windows服务端安装
- Arcims9.3 for windows安装部署
- Silverlight/Windows8/WPF/WP7/HTML5周学习导读(10月22日-10月28日)
- 个人声明
- ArcEngine Runtime9.3 for windows安装部署
- java.lang.ClassNotFoundException: org.springframework.web.portlet.DispatcherPortlet
- TList对象的缺点与改进
- Delphi中的容器类(二)
- Delphi 的RTTI机制浅探
- ASP.NET MVC 4 in Action文章系列说明【持续更新......】
- 64位VS2010配置MongoDB
- 罗姆尼失败的原因
- 1.预备知识
- Could not open PortletContext resource [/com/rujuan/model/SqlMapConfig.xml]