Hi,
First up, I am new to Tomee and Java 8 too really ;-) (just trying out both)
I have a model which I have started annotating with Java 8 null type
annotations (org.eclipse.jdt.annotation.*)
I have read that Tomee 1.7 supports java 8 so thought I would give it a go.
I found that I got the following error as soon as I introduced one of the
previously mentioned annotations.
WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
@MessageDriven annotations. AnnotationFinder failed.
java.lang.RuntimeException
at org.apache.xbean.asm5.MethodVisitor.visitTypeAnnotation(Unknown
Source)
at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
etc...
Is this expected behaviour? I know there is a Tomee 2.0 in the works, but I
thought Java 8 features were supported in Tomee 1.7... or is it just that it
can run on a Java 8 runtime?
Thanks for any help
Regards
Colin
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Java-8-Type-Annotations-cause-error-is-that-expected-tp4676168.html
Sent from the TomEE Users mailing list archive at Nabble.com.