Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Hibernate application not running

hibernate

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 mutago

mutago

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 478 posts

Posted 25 January 2013 - 07:44 AM

i tried deploying Hibernate application but it displays the error below

java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 25 January 2013 - 02:29 PM

Try this in your hibernate.properties file :
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider

For reference you could check this out




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download