【发布时间】:2013-05-18 21:32:16
【问题描述】:
我正在尝试将 OpenID 支持添加到阔叶商业应用程序。 我能够使用 Spring OpenID 开发出一个独立的 Web 应用程序。
在我的阔叶商务应用程序的站点/pom.xml 中,我添加了这个:-
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-openid</artifactId>
<version>3.1.3.RELEASE</version>
</dependency>
在此之后进行 Maven 构建会导致在应用程序中使用 @RequestMapping 的 'produces' 属性时出现编译错误。
"注解类型RequestMapping的属性未定义"
@RequestMapping(value = "/add", produces = "text/html")
public String add(HttpServletRequest request, HttpServletResponse response, Model model,
项目的构建路径确实显示了spring-web.3.0.7.RELEASE jar。
项目刷新/清理也没有帮助。
我正在使用 Broadleaf 2.0。
感谢您的帮助。
【问题讨论】:
标签: spring-security openid broadleaf-commerce