While Smartfox can be configured to run java 1.8 extentions the embedded Jetty server does not seem to happy about it.
Now there might be some workarounds for the older jetty and for all i know it might be able to execute java 8 bytecode, but in my case it keeps causing problems. i want to quick and easy make prototypes with spring-boot but this old jetty version fighting me all the way.
My main issue is that jetty don't seem to like annotations very well, and i have googled an tried a few workarounds
(upgrading jettys ASM lib to v5 amongst others) but nothing seems to solve my problem, so my current solution is to run a separate application server which is less than optimal.
Code: Select all
java.lang.RuntimeException: Error scanning entry javassist/util/proxy/SerializedProxy.class from jar ...
8190437182313700222.dir/webapp/WEB-INF/lib/javassist-3.20.0-GA.jar
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:910)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:828)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:531)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException
at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
at org.objectweb.asm.ClassReader.b(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:971)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:953)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:906)
... 6 more