Open bogdan-pistol opened 6 years ago
just add the missing dependencies to your pom, like:
<dependencies>
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>2.0.3.RELEASE</version>
</dependency>
</dependencies>
@bogdan-pistol can you please post your generated pom.xml?
I had a similar issue on compile, but it was resolved in-IDE when I imported my generated files as a Maven module.
I'm assuming there's a way to specify Maven to recognize this as a module, but I'm not too sure of a way at this moment.
Description
I am trying to generate Java client classes. I am using the following plugin config:
The specfile specifies OAuth2.
When i run
mvn package
i get:I suppose I need to add some Spring OAuth2 dependencies but i couldn't find it documented anywhere.
Swagger-codegen version
2.3.1