Discussion:
"ERROR: Compilation error" in web-console with Java 1.8
gijsbert802
2015-08-10 13:50:50 UTC
Permalink
I'm trying to run ActiveMQ with java 1.8 (1.8.0_45 to be precise), but I get
errors in the web console when trying to view a message (url
/admin/message.jsp?id=ID...)

The error:

ERROR: Compilation error
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at
org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:298)
at
org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:367)
at
org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:324)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:93)
...
ERROR: Error compiling file:
/opt/apache-activemq-5.11.1/tmp/jetty-0.0.0.0-8161-admin-_admin-any-/jsp/org/apache/jsp/tag/web/form/forEachMapEntry_tag.java

Is ActiveMQ supposed to work with Java 8? Or is this is a known issue?




--
View this message in context: http://activemq.2283324.n4.nabble.com/ERROR-Compilation-error-in-web-console-with-Java-1-8-tp4700651.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Christopher Shannon
2015-08-10 14:08:55 UTC
Permalink
This is a known issue: https://issues.apache.org/jira/browse/AMQ-5356

It has to do with the Jetty version that is being used not playing nicely
with JDK 8. 5.12.0 is going out soon but I plan on upgrading Jetty to a
newer version to fix this problem soon. Probably version 5.13.0. (or maybe
a 5.12.x version)
Post by gijsbert802
I'm trying to run ActiveMQ with java 1.8 (1.8.0_45 to be precise), but I get
errors in the web console when trying to view a message (url
/admin/message.jsp?id=ID...)
ERROR: Compilation error
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at
org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:298)
at
org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:367)
at
org.apache.jasper.compiler.JDTJavaCompiler$1.findType(JDTJavaCompiler.java:324)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:93)
...
/opt/apache-activemq-5.11.1/tmp/jetty-0.0.0.0-8161-admin-_admin-any-/jsp/org/apache/jsp/tag/web/form/forEachMapEntry_tag.java
Is ActiveMQ supposed to work with Java 8? Or is this is a known issue?
--
http://activemq.2283324.n4.nabble.com/ERROR-Compilation-error-in-web-console-with-Java-1-8-tp4700651.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
gijsbert802
2015-08-10 15:19:28 UTC
Permalink
Ah thanks. I searched Jira, but not good enough apparently.. I'll await the
new release.



--
View this message in context: http://activemq.2283324.n4.nabble.com/ERROR-Compilation-error-in-web-console-with-Java-1-8-tp4700651p4700712.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Continue reading on narkive:
Loading...