I have a very simple Play project that uses the Jedis Redis open source library. The library references Entry static inner class from java.util.Map
. The project runs perfectly when I execute play run
but when I used sbt
command (tried both locally and on cloudbees) :
sbt -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M -Dsbt.log.noformat=true clean compile test dist
I get the below error.
[error] /scratch/jenkins/workspace/fit001/app/redis/clients/util/JedisByteHashMap.java:31: not found: type Entry
[error] public Set<Entry<byte[], byte[]>> entrySet() {
[error]
^
Entry
is a static inner class of java.util.Map
. It doesn't make sense to me why it can't find the class.