Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining 'Source Compilation' error for user clarification #112

Open
ReeceNana opened this issue Apr 28, 2023 · 0 comments
Open

Defining 'Source Compilation' error for user clarification #112

ReeceNana opened this issue Apr 28, 2023 · 0 comments

Comments

@ReeceNana
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant