Fixing OData/Olingo error: “Could not find an entity set or function import for ‘x’.”

Sometimes with Apache Olingo you see this error message: Could not find an entity set or function import for ‘my_table’. The Olingo sample applications register types like so: static final String ENTITY_SET_NAME_CARS = “Cars”; private static final FullQualifiedName ENTITY_TYPE_1_1 = new FullQualifiedName( NAMESPACE, ENTITY_NAME_CAR); … List entitySets = new ArrayList(); entitySets.add( getEntitySet( ENTITY_CONTAINER, ENTITY_SET_NAME_CARS)); So, …