How open a screen jmix 2.0

how open a screen jmix 2.0

Hello,

did you mean this?
https://docs.jmix.io/jmix/flow-ui/opening-views.html

https://demo.jmix.io/ui-samples/sample/read-only-customers

Kind regards,
Mladen

I’m trying to open a viewDetail screen but i have this exception

viewNavigators.detailView(NewEntityDetailView.class).newEntity().navigate();

the exception is
java.lang.IllegalArgumentException: MetaClass not found for class com.company.provavie.view.newentity.NewEntityDetailView

how can I solve it ?