add struts2 dependency. Set java version to 1.6