Instructions:
-
Run against a blank Postgres database with name, username and password =
sandbox
-
An error occurs on running:
11:45:06.263 [main] ERROR io.micronaut.runtime.Micronaut - Error starting Micronaut server: Bean definition [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator] could not be loaded: Error instantiating bean of type [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator] Message: Unable to create table column for property [finalised] of entity [uk.ac.ox.softeng.folder.Folder] with unknown data type: OBJECT Path Taken: new R2dbcSchemaGenerator(List configurations,R2dbcSchemaHandler schemaHandler) io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator] could not be loaded: Error instantiating bean of type [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator]```
-
Uncomment the
@MappedProperty
annotation on the boolean field onModel
, the application runs successfully.