Mixing scala and java in Play Framework

后端 未结 4 1033
耶瑟儿~
耶瑟儿~ 2021-01-06 04:53

I have a Java file that looks like this:

package AuthorizeNetFingerprint;


class Fingerprint {
    private static Log logger = LogFactory.getLog(Fingerprint         


        
4条回答
  •  星月不相逢
    2021-01-06 05:06

    In theory this should work just fine. Check out this blog Re Java and Scala interop. http://www.codecommit.com/blog/java/interop-between-java-and-scala

    When creating the project did you specify Java, Scala or None (1,2 or 3)

提交回复
热议问题