1

我正在开发集成 spring-social-facebook 的 spring mvc 3.0。当我调试代码时,行有错误

List<Connection<?>> connections = connectionRepository.findConnections(providerId);

在以下方法中

@RequestMapping(value="/{providerId}", method=RequestMethod.GET)
public String connectionStatus(@PathVariable String providerId, 
                               NativeWebRequest request, 
                               Model model) {...} 

控制器是 ConnectController

日食显示

找不到来源

当我将行保留在 try catch 块中时,错误消息是

表达式解析失败;嵌套异常是 org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 22): Field or property 'name' cannot be found on null

我在 WEB-INF/lib 中添加了 org.springframework.expression-3.1.0.M2.jar 文件。我也尝试过使用“添加外部罐子..”。任何帮助,将不胜感激。

4

0 回答 0