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

Eigene Properties File coodoo.listing.properies wird nicht gefunden #18

Open
mkuehle opened this issue Nov 7, 2020 · 0 comments
Open

Comments

@mkuehle
Copy link
Member

mkuehle commented Nov 7, 2020

Das erstellte coodoo.listing.properties file liegt in meinem root Folder des gebauten Projekts aber wird nicht gefunden:

image

Bei dem Auslesen wird mit getClass() relativ zur ListingConfig die Datei gesucht:
inputStream = ListingConfig.class.getClassLoader().getResourceAsStream(listingPropertiesFilename);

Das Laden des Files müsste mit absoluter Angabe passieren getResourceAsStream("/" + listingPropertiesFilename); damit sie gefunden wird.

image

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