Known fixes for the error - org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'id2' cannot be found on null
-
Update the specific interface(s)
IfDao1.java,IfDao2.javaand uncomment the line that overrides the save method from the parent -
Replace the reference to method parameter name in the
@CacheEvictkey to#root.args[0]: also helpful if code is not compiled with debug information
mvn clean compile
mvn exec:java -Dexec.mainClass="net.ars.sample.spring.caching.Main"