I've setup aggregate code in IntelliJ.
When I'm running appStartWar task I get following error.
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [odk-settings.xml]; nested exception is java.io.FileNotFoundException: class path resource [odk-settings.xml] cannot be opened because it does not exist
Hi again! First things first, I've checked that you can start everything from the command line. Please, try to reproduce these steps with a fresh copy of the source code:
Copy gradle.properties.example to a file gradle.properties
Edit the file src/main/resources/jdbc.properties to set your database settings
execute ./gradlew appStartWar
You should see Aggregate running after some time. If any error pops up, please copy it here and we'll try to figure it out.
While you do this, I'll see if there is any problem with IntelliJ.
In above param-value, I changed classpath to classpath*
This change worked and that error is gone.
But I'm getting new error now. Please see the error below.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hierarchicalRoleRelationships' defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]: Cannot resolve reference to bean 'datastore' while setting bean property 'datastore'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'datastore' available
In the meantime, I've successfully managed to import the project in an IntelliJ Community edition... We need to dig a little bit more into your development environment. Can you tell me which JVM are you running? Is it OpenJDK, Oracle, or any other?
Alright, can you confirm that the setting warMode inside gradle.properties has the value complete, please? If not, change it, run gradlew clean, and try again, please.