couchbase / couchbase-lite-java-listener

Embedded web server to expose Couchbase Lite REST API on an http socket
Apache License 2.0
12 stars 32 forks source link

java-listener build errors in Android Studio #74

Open jamesnocentini opened 8 years ago

jamesnocentini commented 8 years ago

build.gradle:

compile 'com.couchbase.lite:couchbase-lite-android:1.3.0-6'
compile 'com.couchbase.lite:couchbase-lite-java-listener:1.3.0-6'
compile 'com.couchbase.lite:couchbase-lite-java-javascript:1.3.0-6'

http://cl.ly/0i1v2K1j0M1m/Pasted_Image_01_07_2016__10_34.png

Error message: https://gist.github.com/jamiltz/594a5bd72835765e844a2bd3b14726fd

The project compiles and the app runs fine so it's not a blocker. It looks like the errors are coming from Acme.Serve which is the TJWS library (the server used in LiteServ).

Those errors are also visible in 1.2.1 and 1.1.0.

hideki commented 8 years ago

We are using old TJWS version, and it is compiled with JDK 1.6. It causes problem. We needs to upgrade TJWS or replace TJWS with other micro Java web server.