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

Fail to read .yml configuration on startup. #59

Open
baardl opened this issue Oct 6, 2016 · 1 comment
Open

Fail to read .yml configuration on startup. #59

baardl opened this issue Oct 6, 2016 · 1 comment

Comments

@baardl
Copy link

baardl commented Oct 6, 2016

Hi. Hope you are able to help us.
The error

applicationapi.yml has an error:
  * Failed to parse configuration at: metrics.reporters; 0 (through reference chain: no.xx.xx["metrics"]->io.dropwizard.metrics.MetricsFactory["reporters"])

application.yml

metrics:
  reporters:
  - type: datadog
    host: xx.xx.xx.xx
    transport:
      type: http
      apiKey: 12345

pom.xml

...
<dropwizard.version>1.0.2</dropwizard.version>
        <dropwizard.java8.version>0.9.0-1</dropwizard.java8.version>
        <dropwizard-swagger.version>1.0.0-1</dropwizard-swagger.version>
        <swagger-annotations.version>1.5.4</swagger-annotations.version>
        <logstash-logback-encoder.version>4.7</logstash-logback-encoder.version>
        <dropwizard-logging-logstash.version>1.1-SNAPSHOT</dropwizard-logging-logstash.version>
        <metrics.version>3.1.1</metrics.version>
...
@matlockx
Copy link

matlockx commented Oct 6, 2016

Put host ip in quotes?

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

2 participants