I tried to open an old Cuba 7(Idea CUBA plugin) Project but when I tried to run I have this error: “web menu not found”.
When I open the web-menu.xml the screens are in red.
This application was going perfectly couple weeks ago.
I tried to update cuba plugin and I have this error too:
I’ve check app.proprieties and this line is included: cuba.dbmsType = postgres
Please advise.
I performed a gradle cleanidea and Invalidate cached/restart.
Now is running but unfortunately cannot connect to localhost:
Also I have this log error: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [com/crm/spring.xml];nested exception is java.io.FileNotFoundException: class path resource [com/crm/spring.xml] cannot be opened because it does not exist
The project was imported few weeks ago from Intellij/Import Project/(Cuba radio button checked).
These days instead of just opening the project I imported again the same project.
This could be the reason I think, but however this behavior is not ok.
Luckily I had a backup (project), I opened it and it works well.
Is there a way to manually perform Gradle synchronization and start the jetty server?
This actions not seem to work or are behave badly.
I don’t know what means bundle version. I suppose you refer to the Cuba radio buton option for importing.
Indeed for the first import I’ve choose the CUBA project build script (build.gradle).
(However if I tried to open the same project in Windows and choose build.gradle I have an error message related to Gradle: please, use jdk instead of jre for gradle importer. If I use to import with Gradle build script (*.gradle) it works).
Can you give me more details please? When I have to choose one or the other import option?
I don’t use bundled version. I use Cuba as plugin for Idea.
So when I use a bundled.version project I have to choose Import project from external model - CUBA and when I use Cuba as plugin I have to choose Import project from external model - Gradle.
My question is if I use Cuba plugin when I import the project I have to choose “Import project from external model - Gradle” ? Because I saw if I choose this option it works.
In this case the option “Import project from external model - CUBA” is for bundled.version?