Cannot find class [org.springframework.web.servlet .view.InternalResourceViewResolver] for bean with name 'myViewResolver' defined in ServletContext

Error:

SEVERE: Context initialization failed org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class
[org.springframework.web.servlet.view.InternalResourceViewResolver] for bean with name 'myViewResolver' defined in ServletContext resource
[/WEB-INF/dispatcher-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.view.InternalResourceViewResolver at
 org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) at
 org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) at
 org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:910) at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at
 org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at
 org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at
 org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779) at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566) at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at
 java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException:
 org.springframework.web.servlet.view.InternalResourceViewResolver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711) at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) at
 org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) at
 org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) at

dispatcher-servlet.xml



  
  
   
   "http://www.w3.org/2001/XMLSchema-instance"
xmlns=
   
   "http://www.springframework.org/schema/beans"
  xmlns:context=
   
   "http://www.springframework.org/schema/context"
xsi:schemaLocation=
   
   "http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
           http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">


   
   
    
    "myViewResolver"
    
    
    class=
    
    "org.springframework.web.servlet.view.InternalResourceViewResolver" >
    
	
    
    
     
     "prefix" value=
     
     "/WEB-INF/views/" />

    
     
     
      
      "suffix" value=
      
      ".jsp" />

     
     
    
    
   
   

 
   
   
    
    package=
    
    "com.testing" />
   
   
  
  

What is the problem?