如何在liferay 6.1 GA2中集成弹簧3.1.2 RELEASE

时间:2012-09-29 08:13:42

标签: 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.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>

我在我的库中包含spring 3.1.2并构建路径

我收到错误:无法找到元素'beans'的声明。

0 个答案:

没有答案