Use javax.faces:javax.faces-api instead of com.sun.faces:jsf-api