I am new to spring mvc frame work.I tried to do 2 helloworld web application but i failed to do so.The reason is that as given below(this error happens at dispatcher-servlet.xml page..here in the screenshot its name is welcome-servlet.xml,and not in web.xml)
Referenced file contains errors[the below url is my error] (http://www.springframework.org/schema/context/spring-context-3.0.xsd)
welcome-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="java4s" />
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/jsp/" />
<property name="suffix" value=".jsp" />
</bean>
</beans>
this is the error in both my projects.What is happening here?How to resolve these errors?Why it came common in both my project?
I change the version of all these to 2.5 and 3 and tested.But the same error shows.
I am using library files(not maven).Feeling totally confused what to do...
I added all those dependencies as specified in tutorial http://www.java4s.com/spring-mvc/spring-mvc-hello-world-spring-mvc-3-2-hello-world-example-in-eclipse/(I rechecked it thoroughly,all jars are in my program and versions are correct as specified).
Nb:I know about latest spring mvc(4 versions) and due to limitations from my office i am not able to use it.
Can anybody help me.any help will be highly appreciable(1 whole day wasted in this error)