I run my play application using the run command from inside activator. When I open the index page, after compiling the sources, the console prints
[warn] Note: Some input files use unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
How do I do that? How do I recompile with that parameter? I've tried running activator with activator -J-Xlint:unchecked and JAVA_OPTS="-Xlint:unchecked" activator, both of which resulted in
Unrecognized option: -Xlint:unchecked
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Add this to your build.sbt:
javacOptions += "-Xlint:unchecked"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With