If you using Mac, Payara or Glassfish, when you use EHCache, maybe this error occurs:
Caused by: net.sf.ehcache.CacheException: Can't assign requested address
Solution:
add
-Djava.net.preferIPv4Stack=true
to JVM Options
That's all!
Good luck!
No comments:
Post a Comment