FF4J usage from play framework

82 Views Asked by At

I am trying to use FF4J from project developed with Play Framework. When I am trying to use my own strategy (extending AbstractFlipStrategy) it fails with java.lang.ClassNotFoundException. The exception is in line

           flipStrategy = (FlippingStrategy) Class.forName(clazzName).newInstance();

in org.ff4j.conf.XmlParser. I assume that I can overcome it by extracting my strategy to external project and including it via build.sbt. Any other thoughts?

0

There are 0 best solutions below