java - Issue with using swagger in webapplication -


i using swagger in web application , when deploy application, getting below error in logs

type 'com/fasterxml/jackson/dataformat/yaml/yamlfactory' (current frame, stack[0]) not assignable 'com/fasterxml/jackson/core/jsonfactory'

my pom.xml have below dependencies

<!-- swagger --> <dependency>     <groupid>io.swagger</groupid>     <artifactid>swagger-jersey-jaxrs</artifactid>     <version>${swagger.version}</version> </dependency> <dependency>     <groupid>io.swagger</groupid>     <artifactid>swagger-annotations</artifactid>     <version>${swagger.version}</version> </dependency> <dependency>     <groupid>io.swagger</groupid>     <artifactid>swagger-core</artifactid>     <version>${swagger.version}</version> </dependency> <dependency>     <groupid>io.swagger</groupid>     <artifactid>swagger-jaxrs</artifactid>     <version>${swagger.version}</version> </dependency> 

please me


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -