Your database isn't getting data properly.
In site/src/main/webapp/WEB-INF/log4j.xml, set the org.hibernate logger to info and rebuild your project.
Once you start up, you should see the following chunk in your logs:
Code: Select all
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_admin_security.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_admin_users.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_code_tables.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_table_sequences.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_catalog_data.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_content_structure.sql
[artifact:mvn] [ INFO] 09:02:00 SchemaExport - Executing import script: /sql/load_content_data.sql
If you're not seeing this, the data isn't getting loaded properly, which will result in the behavior you're seeing. Also, Jetty sometimes likes to reload itself which will wipe your data. When this happens, simply stopping the server and restarting it should fix it.