I have a setup Camunda using Spring Boot. When I run Spring Application, the APIs are working fine. But the webapp seems to be stuck on loading. This seems to be an issue related to security.
I have tried clearing cache. But this error persist. I have tried both on Chrome and Edge, and both are stuck on loading.
:8080/workflow/camunda/app/admin/default/setup/#/setup:1 Refused to apply style from 'http://localhost:8080/workflow/camunda/api/admin/plugin/adminPlugins/static/app/plugin.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
:8080/camunda/api/admin/plugin/adminPlugins/static/app/plugin.js?bust=7.13.0:1 Failed to load resource: the server responded with a status of 404 ()
require.js:1 Uncaught Error: Script error for "admin-plugin-adminPlugins/plugin"
https://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:1)
at HTMLScriptElement.onScriptError (require.js:1)
:8080/camunda/app/admin/default/setup/#/setup:1 Refused to apply style from 'http://localhost:8080/camunda/api/admin/plugin/adminPlugins/static/app/plugin.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
@Niall I am stuck here too any suggestions? What I did is just added in my spring boot application, API which is generated with the Swagger OPEN API. I dont call anywhere this API I just generated them and somehow it is crashing but my APIs are with completely different names so I dont understand why this http://localhost:8080/my-app/camunda/app/tasklist/default/ link does not work. Any ideas?
Hi @hahi
I think your issues is different to the one described in this post.
Can you create a new topic of your own where you explain the problem your having in detail.
Hi,
Had the same issue. 2 things to be checked which helped me to solve it:
Check if Windows is not blocking run file.
Go in Windows to “Windows Defender Firewall and Advanced Security”->Action->Properties.
In each opened tab go to Settings->Customize and mark “Display a Notification” = Yes.
Then please try to run again start-camunda.bat to see if all is OK or some notification is provided if to run or not program
2.Check your browser. For me it did not work with Internet Explorer. Use Edge/Chrome, make it as Default and then web-app launched to me perfectly
I had the same issue running locally camunda-bpm-spring-boot-starter-webapp 7.17.0 in Intellij
Finally, changing the SpringBoot Run configuration “Shorten command line option” to @argfile solved this issue