Caused by: java.lang.ClassNotFoundException: org.springframework.util.StreamUtils in GAE

Viewed 5454

My project don't work in GAE on global side, but it work correctly in local GAE server. Logs from global server:

Caused by: java.lang.ClassNotFoundException: org.springframework.util.StreamUtils

I see this exception when i call getLogin() method, but methos setUserINN() work is correctly.

@RequestMapping(value="/getSalesInfo", method = RequestMethod.GET)  
    public @ResponseBody String getLogin(){
        MasterAccountInfo msi = dataMethods.getMasterAccountInfo();
        ObjectMapper mapper = new ObjectMapper();
        try {
            return mapper.writeValueAsString(msi);
        } catch (JsonProcessingException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            return "failed transform";
        }
    }

    @RequestMapping(value="/setuserINN", method = RequestMethod.POST)
    public String setUserINN(@RequestParam("INN") String INN){
        Principal pr = SecurityContextHolder.getContext().getAuthentication();
        String str = pr.getName();
        dataMethods.changeUserInfo(str, INN);
        return "redirect:/myaccount";
    }
}

I have no idea about this problem. Please help.

3 Answers
Related