Downgraded to java 6 (diamond operator was the only java 7 feature used). Replaced xml with programmatic configuration.