当前位置: 动力学知识库 > 问答 > 编程问答 >

spring - org.springframework.expression-3.1.0.M2.jar has no source attachment

问题描述:

I am working on spring mvc 3.0 that integrated spring-social-facebook. When I debug the code, there is an error at line

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

in the following method

@RequestMapping(value="/{providerId}", method=RequestMethod.GET)

public String connectionStatus(@PathVariable String providerId,

NativeWebRequest request,

Model model) {...}

and controller is ConnectController

Eclipse shows

Source not found

And when i keep the line inside try catch block, then error message is

Expression parsing failed; nested exception is

org.springframework.expression.spel.SpelEvaluationException:

EL1007E:(pos 22): Field or property 'name' cannot be found on null

I have added the org.springframework.expression-3.1.0.M2.jar file in WEB-INF/lib. I have also tried this using "Add External Jars..". Any help would be appreciated.

分享给朋友:
您可能感兴趣的文章:
随机阅读: