orbitaloop/WebSqlSync

Compilation problems exampleServerSync.java

Closed this issue · 1 comments

I am not a Java programmer, but I'm trying to compile exampleServerSync.java to get started using the WebSqlSync framework. The error log is attached below. I wonder about the two dependencies utils and models:
import utils.;
import models.
;
As far as I understand, they are not standard Java libraries. I get an error message regarding utils, but not regarding models. I have added the jamon and gson jars to the lib/ directory.

Pers-MacBook-Pro:webSqlApp per$ play start
[info] Loading project definition from /usr/local/apache-tomcat-7.0.35/webapps/webSqlApp/project
[info] Set current project to webSqlApp (in build file:/usr/local/apache-tomcat-7.0.35/webapps/webSqlApp/)
[info] Compiling 1 Java source to /usr/local/apache-tomcat-7.0.35/webapps/webSqlApp/target/scala-2.9.1/classes...
[error] /usr/local/apache-tomcat-7.0.35/webapps/webSqlApp/app/controllers/Application.java:12: package utils does not exist
[error] import utils.*;
[error] ^
[error] /usr/local/apache-tomcat-7.0.35/webapps/webSqlApp/app/controllers/Application.java:184: cannot find symbol
[error] symbol : class Result
[error] location: class controllers.Application
[error] public static Result index() {
[error] ^
.... and then follows about 45 more errors of the same type....

Yes of course, it will not compile like that. It's just an example to read (not to run), a lot of dependency are missing.