This is because our IDE uses our project directory as its current working directory and the src/main/resources directory is right there for the application to read.
Hi Dmitriy,
I went through that doc and many others
Actually I found out, that I only get the error when using Chrome or Firefox
and not when using Safari browser.
And there it is the same behavior when I run the app in Idea,
as java -jar or as a deployed war in Tomcat.
Which means from my view,
the issue is caused by the browsers I use.
I found a page where solution might be helpful for me too.
But would be great, if you could also look into that…
KR
Roland
2023-09-13T10:57:26.619+02:00 ERROR 48922 — [nio-8081-exec-9] i.j.f.exception.UiExceptionHandlers : There is no io.jmix.flowui.exception.UiExceptionHandler can handle the exception
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:344) ~[catalina.jar:10.1.13]
at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:773) ~[catalina.jar:10.1.13]
at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:676) ~[catalina.jar:10.1.13]
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:379) ~[catalina.jar:10.1.13]
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:357) ~[catalina.jar:10.1.13]
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97) ~[catalina.jar:10.1.13]
at org.springframework.security.web.util.OnCommittedResponseWrapper$SaveContextServletOutputStream.write(OnCommittedResponseWrapper.java:639) ~[spring-security-web-6.1.0.jar:6.1.0]
and, I also tried it via iPhone… there the Chrome browser works fine…
so it looks like in my environment it is only an issue with the Chrome and Firefox browser
which are running on my Mac…
if you will ever find the root cause or how to handle it… pls tell me