I have a big project written in Grails 2.3.8. Sometimes when I deploy it using my CI I got this message:
Unable to complete the scan for annotations for web
I think its because of two versions of JAR being referenced from classpath.
This is usually caused when different versions of bcprov-jdk*.jar being loaded.
For example, IN one of my scenario - I had
..../webapps/FOO/WEB-INF/lib/bcprov-jdk15on-147.jar
..../webapps/FOO/WEB-INF/lib/bcprov-jdk15on-1.51.jar
I got this resolved after removing any one of them from my classpath.