Why can't my SomethingServiceBean reach/import com.haulmont.cuba.gui

My Services have limited reach to com.haulmont.cuba… (meaning - I can’t see/use the gui package and others).

I’ll find a workaround, but I’d like to understand the reason and may be even fix it.

The middleware layer is available from the GUI, but not vice versa.

Describe what problem you decide

1 Like

Hi, @gk.vasil.stoychev

it happens due to architecture - only desktop and web modules depends on gui module.

If you are need in gui module while writing code in core module, it seems that you are doing something wrong.

Describe your task and I’ll help you.


1 Like