It sees the class, but I think the problem is that it doesnt get the
listeners from webdefault.xml fro the jetty library. Can you send me a
newer version of jetty for android please?
Thank you.
On 2 February 2018 at 17:42, Jan Bartel wrote:
> Could possibly be an android bug - make sure you're
Could possibly be an android bug - make sure you're up to date.
Otherwise, if you can see the ELContextCleaner class inside the
jetty-8.1.15.jar your code should be able to see it. Try writing a small
test program that just does new ElContextCleaner() - should help you debug
it.
Jan
On 2 Februar
This is my gradle build file:
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "25.0.2"
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
applicationId
minSdkVersion 15
targ
This is the method where I start the server which is an instance of
org.eclipse.jetty.server.Server:
(in Eclipse was working ok)
/
// Initializes and starts the Jetty webserver
public synchronized void startServer()
{
if(server == null)
{
server
Also, since you are using Jetty 8, be sure to not run Java 9 (its not
supported on Jetty 8 due to JEP 238 & JPMS changes to the JVM)
For maximum compatibility with Jetty 8.1.15 you should probably stick to
Java 7.
Joakim Erdfelt / joa...@webtide.com
On Fri, Feb 2, 2018 at 8:39 AM, Joakim Erdfelt
Jetty 8 is EOL (End of Life)
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00069.html
Without knowing how the Android Studio instance of Jetty was started, it
would be hard to troubleshoot.
If this was a distribution started version of Jetty, then its likely
missing a distribution option