I have a v7.0.10 application with an app component. The app component runs fine stand-alone. I have deployed it locally (and I can see it in my local maven archive).
-
When I go to Cuba Properties in Intellij, I can’t add the dependency. I get invalid dependency. Not sure why (I have the local Maven repository checkbox checked). I am running Cuba plugin version 11.3-183.
-
I go into build.gradle and add it manually:
dependencies {
appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
appComponent("com.haulmont.reports:reports-global:$cubaVersion")
appComponent("com.haulmont.bpm:bpm-global:$cubaVersion")
appComponent("com.paslists.filemaint:filemaint-global:0.1-SNAPSHOT")
}
When I look in the deployed tomcat webapps area, I can find my filemaint jar files in webapps/rentals/WEB-INF/lib. It looks like the component deployed properly. I can see the menu definitions (grayed out) in the menu structure designer in Composite mode.
But, I can not access any screens from the app component. The menus from the app component don’t appear. To test, since the menus don’t show, I hard-coded the first menu item from my app component in my main app and tried to access it. I get screen not found:
2019-09-05 14:04:53.849 ERROR [http-nio-8080-exec-5/rentals/admin] com.haulmont.cuba.web.log.AppLog - Exception in com.haulmont.cuba.web.widgets.CubaMenuBar:
com.haulmont.cuba.gui.NoSuchScreenException: Screen 'filemaint_Customers.browse' is not defined
app.log.zip (4.2 KB)
My app.log file is attached.
What steps have I missed?