Spring MVC Portlet will be requiring Internet for checking and creating beans from xsd's. In case we need to deploy and use Spring MVC Portlet without internet then we can achieve it by saving the xsd file in Liferay Tomcat server and using this xsd in application-context.xml.
1. Download the Following XSDs based on your version required
2. open spring-context-4.0.xsd and edit it as follow (replace existing content with highlighted)