spring 3.2, mobile detect

JSP, JAVA RSS Icon ATOM Icon 2015/01/07 11:39 visualp
dev-tool  : sts
spring - version 3.2.x

when i use spring-mobile-device then  
error ocured fallowing
"Could not instantiate bean class [org.springframework.mobile.device.Device]: Specified class is an interface] with root cause"

i try to solved this problem , 
example : https://spring.io/guides/gs/device-detection/ 

same error occoured..

 .. search and more .. google...

1.  pom.xml <-- inject to dependency


2. web.xml  <--add  filter config

<!--device filter_start() -->
 <!--device filter_end() -->

3. using like this ... (controller)
 if( DeviceUtils.getCurrentDevice(request).isMobile() ||  DeviceUtils.getCurrentDevice(request).isTablet() ){
   model.addAttribute("is_mobile", true);
   model.addAttribute("is_mobile", false);

2015/01/07 11:39 2015/01/07 11:39
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://blog.visualp.com/rss/response/661

댓글+트랙백 ATOM :: http://blog.visualp.com/atom/response/661

트랙백 주소 :: 이 글에는 트랙백을 보낼 수 없습니다

트랙백 RSS :: http://blog.visualp.com/rss/trackback/661

트랙백 ATOM :: http://blog.visualp.com/atom/trackback/661