vendredi 20 juillet 2018

reflections.getTypesAnnotatedWith works fine on Tomcat but not Weblogic

My application runs fine on Tomcat but on Weblogic one of the dependencies (http://jsondb.io/) is failing. JsonDB internally calls

reflections.getTypesAnnotatedWith(Document.class);

to get all the classes I annotated with @Document annotation

As per title: the same WAR file works fine on Tomcat, but when deployed to Weblogic my classes are not detected and API calls fail. Any help is appreciated.





Aucun commentaire:

Enregistrer un commentaire