samedi 21 février 2015

"beans" element not found during sever startup

I am getting following exception during server startup. Although the beans element is present it still complains. Not sure what I am missing here.


Error Log:



[/WEB-INF/dispatcher-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 4; cvc-elt.1: Cannot find the declaration of element 'beans'.


dispatcher-servlet.xml



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:aop="http://ift.tt/OpNdV1"
xmlns:c="http://ift.tt/MffYna"
xmlns:context="http://ift.tt/GArMu7"
xmlns:jee="http://ift.tt/OpNaZ5"
xmlns:jms="http://ift.tt/1iMF6wC"
xmlns:lang="http://ift.tt/OGfeTY"
xmlns:p="http://ift.tt/1jdM0fE"
xmlns:tx="http://ift.tt/OGfeU2"
xmlns:util="http://ift.tt/OGfeTW"

xsi:schemaLocation="http://ift.tt/GArMu6 http://ift.tt/1ApBUR8
http://ift.tt/OpNdV1 http://ift.tt/1ApBURa
http://ift.tt/GArMu7 http://ift.tt/1ANKKvk
http://ift.tt/OpNaZ5 http://ift.tt/1ANKKvm
http://ift.tt/1iMF6wC http://ift.tt/1ANKLzn
http://ift.tt/OGfeTY http://ift.tt/1ANKKLI
http://ift.tt/OGfeU2 http://ift.tt/1ANKKLO
http://ift.tt/OGfeTW http://ift.tt/1ANKKLU
">

<context:component-scan base-package="com.istore" />

<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/jsp/" />
<property name="suffix" value=".jsp" />
</bean>

</beans>

Aucun commentaire:

Enregistrer un commentaire