added beans.xml file in web-inf, solves cdi problem