As Springfox is a third party tool, it’d be better to open a ticket directly on 
that project.

 

 

 

From: <[email protected]> on behalf of Vishal Thakur 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, 25 July 2016 at 00:28
To: Swagger <[email protected]>
Subject: Configuration problem: Method 'objectMapperConfigurer' must not be 
private, final or static

 

Hi 

 

I am using Spring 4.x, jersey 1.x and springfox swagger2 and my project is not 
using SpringBoot.

While running the project on apache tomcat 7.x, I am getting following error :

 

SEVERE: Exception sending context initialized event to listener instance of 
class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 
Configuration problem: Method 'objectMapperConfigurer' must not be private, 
final or static; change the method's modifiers to continue

Offending resource: class path resource 
[springfox/documentation/spring/web/SpringfoxWebMvcConfiguration.class]

 

Can anybody help me to resolve this issue.

 

Regards

Vishal 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to