Avoid cyclic reference inheritance in grails

前端 未结 1 1995
名媛妹妹
名媛妹妹 2020-12-19 07:45

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

相关标签:
1条回答
  • 2020-12-19 08:21

    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.

    0 讨论(0)
提交回复
热议问题