I have been following the steps shown in articles-java-jee to create EntityManagerFactory. I have made the necessary changes in persistence.xml,server.xmland also put beans.xmlinside WEB-INFfolder. In spite of that when I create EntityManagerFactory, it becomes null.
I have been following the steps shown in
articles-java-jee
to createEntityManagerFactory
. I have made the necessary changes inpersistence.xml
,server.xml
and also putbeans.xml
insideWEB-INF
folder. In spite of that when I createEntityManagerFactory
, it becomes null.Persistence.xml
Server.xml
beans.xml
pom.xml
What am I missing?