Better error message if no global.properties was found

Description

If the server is started with out any configuration, that is the message:

java -jar opennms-pris-1.0.5-jar-with-dependencies.jar Exception in thread "main" java.util.NoSuchElementException: 'driver' doesn't map to an existing object at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1028) at org.opennms.pris.Starter.main(Starter.java:68)

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created April 24, 2014 at 5:45 AM
Updated May 3, 2017 at 4:01 AM