Comments (3)
I ran into a similar issue and increased the wait from 500ms to 1000ms. The application is just too fat and sometimes takes longer than 30s to fully start on my local machine:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>-Dspring.application.admin.enabled=true</jvmArguments>
<addResources>true</addResources>
</configuration>
<executions>
<execution>
<id>pre-integration-test</id>
<goals>
<goal>start</goal>
</goals>
<configuration>
<!-- Application may need longer than 60 * 500ms to start. Set to 60 * 1000ms. -->
<wait>1000</wait>
</configuration>
</execution>
<execution>
<id>post-integration-test</id>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
Though I do have a problem that the server isn't shutting down properly and I have to kill the process somehow. But that might be a different issue.
from springdoc-openapi-maven-plugin.
This is not reproducible.
Make sure you use the last versions of springdoc-openapi
and springdoc-openapi-maven-plugin
before reporting any issues.
from springdoc-openapi-maven-plugin.
I solved it adding to the pre-integration-test a configuration specifying the correct spring profile:
<configuration>
<jvmArguments>-Dspring.application.admin.enabled=true -Dspring.profiles.active=qa</jvmArguments>
</configuration>
from springdoc-openapi-maven-plugin.
Related Issues (20)
- Auto JSON format openapi.json HOT 5
- html output HOT 1
- Created Openapi.json file changes each time HOT 1
- There is no way to generate multiple open api files in one plugin config HOT 1
- The outputFileName property should not start with "/"
- Runtime or buildtime? HOT 1
- Plugin do not generate java.util.Date correctly HOT 1
- Plugin does not generate responses correctly HOT 1
- Plugin does not generate list of objects correctly HOT 1
- Actual build-time capability without a running server HOT 3
- Plugin does not generate specification HOT 1
- Are there locations configuration? HOT 1
- Generate api document by Maven plugin during compilation HOT 1
- Add "failOnError" option HOT 1
- Error while working with context-path HOT 2
- Add ability to set title for openapi specification HOT 1
- Setting all imports with full path HOT 1
- Will the plugin generate multiple files if GroupedOpenAPI is used? HOT 3
- springdoc.swagger-ui.tryItOutEnabled boolean value is inverted
- Generate OpenAPI documentation at build/compile time in SpringBoot 3.x application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from springdoc-openapi-maven-plugin.