change package to war and add compile encoding
fix compiler encoding param