Java – package play.db does not exist

I’m using Java as programming language and Play (2.4) as my framework

    1 package controllers;
    2
    3 import java.sql.Connection;
    4 import play.db.*;
    5
    6 public class JDBCUtilities {
    7   
    8   
    9   Connection connection = DB.getConnection();

Line number 4 was highlighted as an error. In my eclipse IDE, it doesn’t seem to show error.


Source: eclipse

Leave a Reply