java - HibernateUtil is working on GlassFish but not with Tomcat -


when run java web app using hibernate in netbeans glassfish works great, when run same java web app tomcat server start receive message:

"java.lang.noclassdeffounderror: not initialize class mypackage.hibernateutil"

any reason why?

it appears following libraries needed tomcat, not glassfish:

slfj4-api

slfj4-simple

persistance jpa2.0


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -