spring - controller not visible in swagger API page -


i migrated app java 8. controller wrote not visible in swagger api page. other controllers appear on page , cause no problems.

a warning appears in logs:

warn reflections.reflections: not scan file /path/mycontroller.class scanner typeannotationsscanner   org.reflections.reflectionsexception: not create class file mycontroller.class   caused by: org.reflections.reflectionsexception: not create class file mycontroller.class   caused by: java.io.ioexception: invalid constant type: 18 

swagger4spring-web version 0.3.2

this version of swagger uses org.reflections:0.9.8 inspect classes, not support java 8 operations, in particular stream operations might have used in new controller.

when replace stream() operations standard-pre-8-java operations controller loaded.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -