Hi
I just started using Play a few days ago.
I have a template which needs to refer to parameters of types defined in a library (of my own)
ie
@(serviceStatus: ServiceStatusDTO)
The library is already in the build file, and I have successfully used its classes in controllers.
However, I tried putting @import statements above the template parameters, and I also tried using the fully qualified class name in the template parameters.
In both cases, I got this error (stack crawl below)
Configuration error[reference.conf: read error: invalid code lengths set]
Any ideas?
Thanks
Richard
@6l82ol218 - Internal server error, for (GET) [/status] ->
play.api.Configuration$$anon$1: Configuration error[reference.conf: read error: invalid code lengths set]
at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:94) ~[play_2.10-2.3.7.jar:2.3.7]
at play.api.Configuration$.loadDev(Configuration.scala:35) ~[play_2.10-2.3.7.jar:2.3.7]
at play.api.Configuration$.load(Configuration.scala:64) ~[play_2.10-2.3.7.jar:2.3.7]
at play.api.WithDefaultConfiguration$$anonfun$initialConfiguration$1.apply(Application.scala:76) ~[play_2.10-2.3.7.jar:2.3.7]
at play.api.WithDefaultConfiguration$$anonfun$initialConfiguration$1.apply(Application.scala:76) ~[play_2.10-2.3.7.jar:2.3.7]
Caused by: com.typesafe.config.ConfigException$IO: reference.conf: read error: invalid code lengths set
at com.typesafe.config.impl.Tokenizer$TokenIterator.nextCharRaw(Tokenizer.java:147) ~[config-1.2.1.jar:na]
at com.typesafe.config.impl.Tokenizer$TokenIterator.nextCharAfterWhitespace(Tokenizer.java:200) ~[config-1.2.1.jar:na]
at com.typesafe.config.impl.Tokenizer$TokenIterator.pullNextToken(Tokenizer.java:546) ~[config-1.2.1.jar:na]
at com.typesafe.config.impl.Tokenizer$TokenIterator.queueNextToken(Tokenizer.java:627) ~[config-1.2.1.jar:na]
at com.typesafe.config.impl.Tokenizer$TokenIterator.next(Tokenizer.java:645) ~[config-1.2.1.jar:na]
Caused by: java.util.zip.ZipException: invalid code lengths set
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) ~[na:1.7.0_71]
at java.io.FilterInputStream.read(FilterInputStream.java:133) ~[na:1.7.0_71]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) ~[na:1.7.0_71]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) ~[na:1.7.0_71]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) ~[na:1.7.0_71]
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.