Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在liferay 6.1 GA2中集成spring 3.1.2版本_Spring_Spring Mvc_Liferay_Liferay 6 - Fatal编程技术网

如何在liferay 6.1 GA2中集成spring 3.1.2版本

如何在liferay 6.1 GA2中集成spring 3.1.2版本,spring,spring-mvc,liferay,liferay-6,Spring,Spring Mvc,Liferay,Liferay 6,我不知道怎么做: 关于上下文应用程序,我必须知道什么? 依赖性呢 我将其用于应用程序上下文: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.spring

我不知道怎么做: 关于上下文应用程序,我必须知道什么? 依赖性呢

我将其用于应用程序上下文:

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" 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.1.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context-3.1.xsd
       http://www.springframework.org/schema/util
       http://www.springframework.org/schema/util/spring-util-3.1.xsd">



<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" id="viewResolver">
  <property name="viewClass" value="org.springframework.web.servlet.view.JstlView">
  <property name="prefix" value="/WEB-INF/jsp/">
  <property name="suffix" value=".jsp">
 </property></property></property></bean>
 <dependency org="org.springframework" name="org.springframework.web.portlet" rev="3.1.2.RELEASE" />

</beans>

我在我的库和构建路径中包括Spring3.1.2


I get error:找不到元素“bean”的声明。

您认为这正确吗?谢谢你,我修好了,不是因为这个。