Sometimes, when running swagger, it will cause“ Internal Server Error /swagger/v1/swagger.json ” Wrong.
Here are my solutions:
1. First look at the console and check the reason. The reason is: ambiguous HTTP method for action, which is translated as “ambiguous HTTP operation method”. It is estimated that a brother did not indicate the HTTP method when submitting the code.
2. Search all public methods in the controller. In the search result window, press ↓ on the keyboard and ↑ Button to quickly switch to search. Finally, it is found that the method is written in public and changed to private.
Ambiguous HTTP method for action, translated as “ambiguous HTTP operation method”.
There may be no HTTP method written, such as [httpget], [httppost], add to the method.
It may also be caused by writing some methods that should have been private to public.
- [Solved] swagger Error: Fetch errorInternal Server Error /swagger/v1/swagger.jso
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- SpringBoot High Version Import Swagger 2.9.2 Error: ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper‘
- Swagger-ui.html Open Error: There was an unexpected error (type=Not Found, status=404)
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘；
- .Net Core 5.0 Upload File limit via Swagger Api report error: error: request entity too large [Three Methods]
- [Solved] swagger3 Error: org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- [Solved] Swagger Error: Whitelabel Error Page status=405
- How to Solve Git Push Error: error: src refspec v3.3.04.1000 matches more than one
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- django Internal server error 500 Modify source code to view print errors
- How to parse JSON string in.Net [error reading job object from jsonreader. Current jsonreader item is not an obj]
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- [Solved] Nacos Start Error: failed to req API:127.0.0.1:8848/nacos/v1/ns/service/list. code:503 msg: server is DOWN now
- [Solved] SyntaxError:JSON.parse:unexpected character at line 1 column 1 of the JSON data
- (How to Fix) Ora-00600: internal error code, arguments: 
- [Solved] Android Project error: import android.support.v4 (V7). App.activitycompat
- How to Solve Error: Type mismatch: cannot convert from Object to Car