When I start server it shows ,
"org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:Line 7 in XML document from ServletContext resource [/WEB-INF/spring-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 118; cvc-elt.1: Cannot find the declaration of element 'beans:beans'." in the console.
Here is my spring bean configuration xml code,
<?xml version="1.0" encoding="UTF-8"?>
https://www.springframework.org/schema/mvc/spring-mvc.xsd https://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd https://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">
<!-- DispatcherServlet Context: defines this servlet's request-processing
infrastructure -->
<!-- Enables the Spring MVC @Controller programming model -->
<annotation-driven />
<context:component-scan base-package="com.gavs.spring" />
<!-- Resolves views selected for rendering by @Controllers to .jsp resources
in the /WEB-INF/views directory -->
<beans:bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<beans:property name="prefix" value="/WebContent/WEB-INF/views/" />
<beans:property name="suffix" value=".jsp" />
</beans:bean>
Please help me out. Thank you.