I imported the https://github.com/findify/s3mock which seems to include typesafe config. Then when I wrote a test, I'm getting a com.typesafe.config.ConfigException$Parse exception even though I'm not using typesafe config explicitly in my application...
application.conf @ file:/location/application.conf: 4: Expecting end of input or a comma, got ':' (if you intended ':' to be part of a key or string value, try enclosing the key or value in double quotes, or you may be able to rename the file .properties rather than .conf)
com.typesafe.config.ConfigException$Parse: application.conf @ file:/target/classes/application.conf: 4: Expecting end of input or a comma, got ':' (if you intended ':' to be part of a key or string value, try enclosing the key or value in double quotes, or you may be able to rename the file .properties rather than .conf)
at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)
at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:197)
at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:533)
at com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parse(ConfigDocumentParser.java:646)
at com.typesafe.config.impl.ConfigDocumentParser.parse(ConfigDocumentParser.java:14)
at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:260)
at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:248)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:307)
at com.typesafe.config.impl.Parseable$ParseableResources.rawParseValue(Parseable.java:747)
at com.typesafe.config.impl.Parseable$ParseableResources.rawParseValue(Parseable.java:710)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
at com.typesafe.config.impl.Parseable.parse(Parseable.java:152)
at com.typesafe.config.impl.SimpleIncluder.fromBasename(SimpleIncluder.java:185)
at com.typesafe.config.impl.ConfigImpl.parseResourcesAnySyntax(ConfigImpl.java:132)
at com.typesafe.config.ConfigFactory.parseResourcesAnySyntax(ConfigFactory.java:979)
at com.typesafe.config.DefaultConfigLoadingStrategy.parseApplicationConfig(DefaultConfigLoadingStrategy.java:36)
at com.typesafe.config.ConfigFactory.defaultApplication(ConfigFactory.java:473)
at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:259)
at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:256)
at com.typesafe.config.impl.ConfigImpl$LoaderCache.getOrElseUpdate(ConfigImpl.java:65)
at com.typesafe.config.impl.ConfigImpl.computeCachedConfig(ConfigImpl.java:92)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:256)
at akka.actor.ActorSystem$$anonfun$6.apply(ActorSystem.scala:243)
at akka.actor.ActorSystem$$anonfun$6.apply(ActorSystem.scala:243)
at scala.Option.getOrElse(Option.scala:121)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:243)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:289)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:234)
at akka.actor.ActorSystem$.create(ActorSystem.scala:169)
at io.findify.s3mock.S3Mock$.$lessinit$greater$default$3(S3Mock.scala:21)
at io.findify.s3mock.S3Mock$.apply(S3Mock.scala:93)
I imported the https://github.com/findify/s3mock which seems to include
typesafe config
. Then when I wrote a test, I'm getting acom.typesafe.config.ConfigException$Parse
exception even though I'm not usingtypesafe config
explicitly in my application...