Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no mapping for Get /etoro-api/swagger-ui.html #39

Open
MaxWvM opened this issue Mar 15, 2021 · 1 comment
Open

no mapping for Get /etoro-api/swagger-ui.html #39

MaxWvM opened this issue Mar 15, 2021 · 1 comment

Comments

@MaxWvM
Copy link

MaxWvM commented Mar 15, 2021

when trying the 1.4 update i found that the api has no mapping
JPY, 100256=DASHGBP, 100257=USDXUSD, 100263=GOLDBTC, 100269=BTCGRAM, 100270=GRAM, 100271=ETHGRAM, 100272=GRAMEUR}
2021-03-15 11:52:57.496 INFO 3812 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'messageBrokerTaskScheduler'
2021-03-15 11:52:57.553 INFO 3812 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'brokerChannelExecutor'
2021-03-15 11:52:57.612 INFO 3812 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2021-03-15 11:52:57.694 INFO 3812 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
2021-03-15 11:52:57.704 INFO 3812 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
2021-03-15 11:52:57.760 INFO 3812 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
2021-03-15 11:52:58.440 INFO 3812 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Starting...
2021-03-15 11:52:58.441 INFO 3812 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]]
2021-03-15 11:52:58.443 INFO 3812 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Started.
2021-03-15 11:52:58.483 INFO 3812 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8088 (http) with context path '/etoro-api'
2021-03-15 11:52:58.488 INFO 3812 --- [ main] ok.work.etoroapi.EtoroApiApplicationKt : Started EtoroApiApplicationKt in 17.334 seconds (JVM running for 17.966)
2021-03-15 11:53:17.326 INFO 3812 --- [nio-8088-exec-1] o.a.c.c.C.[.[localhost].[/etoro-api] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-03-15 11:53:17.327 INFO 3812 --- [nio-8088-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-03-15 11:53:17.345 INFO 3812 --- [nio-8088-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 11 ms
2021-03-15 11:53:17.374 WARN 3812 --- [nio-8088-exec-1] o.s.web.servlet.PageNotFound : No mapping for GET /etoro-api/swagger-ui.html
2021-03-15 11:53:57.553 INFO 3812 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]

@mzeeshanilyas
Copy link

Remove @EnableWebMvc annotation from file CorsConfig
Location : \src\main\kotlin\ok\work\etoroapi\config\CorsConfig.kt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants