Re: class path resource [springfox/documentation/schema/configuration/ModelsConfiguration.class]notfound

2017-08-09 Thread Ron Ratovsky
SpringFox is a community-provided

 

 project. Please file a ticket on the project directly.

 

From:  on behalf of Go Mezant 

Reply-To: "swagger-swaggersocket@googlegroups.com" 

Date: Wednesday, August 9, 2017 at 15:22
To: Swagger 
Subject: class path resource 
[springfox/documentation/schema/configuration/ModelsConfiguration.class]notfound

 

I have added swagger to my app, with these dependencies in the POM: 

 



io.springfox

springfox-swagger2

2.7.0



 



io.springfox

springfox-swagger-ui

2.7.0



 



io.springfox

springfox-schema

2.7.0





io.springfox

springfox-core

2.7.0



 

My Main class looks like this with all the appropriate imports:

 

@SpringBootApplication

@EnableSwagger2

public class BIAWSUtils {

public static void main(String[] args) {

SpringApplication.run(BIAWSUtils.class, args);

}

 

@Bean

public Docket api() {

return new 
Docket(DocumentationType.SWAGGER_2).select().apis(RequestHandlerSelectors.any())

.paths(PathSelectors.any()).build();

}

}

 

Yet, I still receive the error above. I think that's all I need. Or am I 
missing something??

-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


class path resource [springfox/documentation/schema/configuration/ModelsConfiguration.class]notfound

2017-08-09 Thread Go Mezant
I have added swagger to my app, with these dependencies in the POM:


io.springfox
springfox-swagger2
2.7.0



io.springfox
springfox-swagger-ui
2.7.0



io.springfox
springfox-schema
2.7.0


io.springfox
springfox-core
2.7.0


My Main class looks like this with all the appropriate imports:

@SpringBootApplication
@EnableSwagger2
public class BIAWSUtils {
public static void main(String[] args) {
SpringApplication.run(BIAWSUtils.class, args);
}

@Bean
public Docket api() {
return new 
Docket(DocumentationType.SWAGGER_2).select().apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any()).build();
}
}

Yet, I still receive the error above. I think that's all I need. Or am I 
missing something??

-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.