add spring and struts2(rest) dependency