Adding JavaScript results in denied access

Hi Jmix Team,

I encounter that access denied after adding a Vaadin component that consist of Javascript file.

2025-08-12 08:22:13 [http-nio-8080-exec-6] DEBUG  i.j.c.AccessLogger - Denied access to [view: MainView] for user [anonymous] by io.jmix.securityflowui.constraint.UiShowViewConstraint
2025-08-12 08:22:58 [vaadin-dev-server-1] INFO   c.v.f.s.f.TaskRunDevBundleBuild - Development frontend bundle built
2025-08-12 08:23:02 [vaadin-dev-server-2] INFO   c.v.b.d.DevModeHandlerManagerImpl - Application running at http://localhost:8080/
2025-08-12 08:23:05 [http-nio-8080-exec-1] DEBUG  i.j.c.AccessLogger - Denied access to [view: MainView] for user [anonymous] by io.jmix.securityflowui.constraint.UiShowViewConstraint  

It keeps loading and unable to open the screen. I really appreciate your support. Thank you.

Best Regard,
Chee Hao

Hi,

This log entry does not relate to the JS file. When you open http://localhost:8080/, you are trying to access the main view, which is denied to the anonymous user, and you are redirected to the login page.

Simply ignore it.

Regards,
Gleb