-
Notifications
You must be signed in to change notification settings - Fork 14
Description
In start directory, after replacing the InventoryResource class.:
src/main/java/io/openliberty/guides/microprofile/InventoryResource.java
You will see a source compilation error in your terminal:
[INFO] [AUDIT ] CWWKZ0003I: The application guide-rest-hateoas updated in 0.887 seconds.
/home/project/guide-rest-hateoas/start/src/main/java/io/openliberty/guides/microprofile/InventoryResource.java:28: error: cannot find symbol
return manager.getSystems(uriInfo.getAbsolutePath().toString());
^
symbol: method getSystems(String)
location: variable manager of type InventoryManager
1 error
[INFO] Source compilation had errors.
This is as expected, however, the information under states:
The contents of your inventory are now under the asterisk (*) wildcard and reside at the http://localhost:9080/inventory/hosts/* URL.
This may confuse users in believing that they can access the URL, which at this point is not necessary or have reason to believe there will be errors when accessing the URL due to the source compilation error above.
This can be resolved by notifying the user, that 'source compilation' errors are expected as each file is created, but is resolved thereafter. It may not be necessary/priority but after investigation it may be an issue for some.