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

load config error when use config.resource #343

Open
shijinkui opened this issue Jul 4, 2019 · 0 comments
Open

load config error when use config.resource #343

shijinkui opened this issue Jul 4, 2019 · 0 comments

Comments

@shijinkui
Copy link

shijinkui commented Jul 4, 2019

[error] Caused by: java.io.IOException: resource not found on classpath: xxxx/local.conf
[error]         at com.typesafe.config.impl.Parseable$ParseableResources.rawParseValue(Parseable.java:576)
[error]         at com.typesafe.config.impl.Parseable$ParseableResources.rawParseValue(Parseable.java:554)
[error]         at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:176)
[error]         at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:170)
[error]         at com.typesafe.config.impl.Parseable.parse(Parseable.java:227)
[error]         at com.typesafe.config.ConfigFactory.parseResources(ConfigFactory.java:716)
[error]         at com.typesafe.config.ConfigFactory.loadDefaultConfig(ConfigFactory.java:229)
[error]         at com.typesafe.config.ConfigFactory.loadDefaultConfig(ConfigFactory.java:193)
[error]         at com.typesafe.config.ConfigFactory.loadDefaultConfig(ConfigFactory.java:189)
[error]         at com.typesafe.config.ConfigFactory.access$000(ConfigFactory.java:38)
[error]         at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:302)
[error]         at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:299)
[error]         at com.typesafe.config.impl.ConfigImpl$LoaderCache.getOrElseUpdate(ConfigImpl.java:58)
[error]         at com.typesafe.config.impl.ConfigImpl.computeCachedConfig(ConfigImpl.java:86)
[error]         at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:299)
[error]         at org.scalastyle.sbt.Tasks$.doScalastyleWithConfig$1(Plugin.scala:171)
[error]         at org.scalastyle.sbt.Tasks$.doScalastyle(Plugin.scala:192)
[error]         at org.scalastyle.sbt.ScalastylePlugin$.$anonfun$rawScalastyleSettings$3(Plugin.scala:81)
[error]         at org.scalastyle.sbt.ScalastylePlugin$.$anonfun$rawScalastyleSettings$3$adapted(Plugin.scala:68)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:44)

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