I have a Java file that looks like this:
package AuthorizeNetFingerprint;
class Fingerprint {
private static Log logger = LogFactory.getLog(Fingerprint
Three things:
All the Scala code in your example should be replaced by:
val x_fp_hash = AuthorizeNetFingerprint.Fingerprint.createFingerprint(…)
This works in the Scala (2.9.1) console, compiled with sbt (0.11.3).
Yes, you can mix Java and Scala in a Play2 application, just put the Java code in the app directory. Note that Java classes need to be in their corresponding package directories, which is not the case for Scala classes.