How to find where NSInvalidArgumentException (“data parameter is nil”) get's thrown?

前端 未结 2 1663
轻奢々
轻奢々 2021-01-27 17:54

I\'m writing an iPad App and today I realized, that there\'s something wrong when there\'s no internet connection.

I get this very informative error:

2条回答
  •  鱼传尺愫
    2021-01-27 18:43

    Use spring 3 version

    Spring configuration : springService.xml

    
    
    
        
        
        
    
        
            
            
        
    
    
    
    Package Code :
    com.service.impl
    
    Class Name:
    @Service
    public class BatchUpdateServiceImpl {
        public void updateMe(){
        System.out.println(“update me”);
        }
        public void updateYou(){
        System.out.println(“update You”);
        }
    
    }
    
    Web.xml :
    
        contextConfigLocation
        
                /WEB-INF/springService.xml
            
      
    

提交回复
热议问题