Primefaces works

It was the maven dependency compile/provided causing primefaces error.
now to connect to database