Category: annotations

Tomcat/Scala: invalid byte tag in constant pool: 110

When deploying a Scala application on Tomcat 7 I got this weird error:invalid byte tag in constant pool: 110from Tomcat's annotation scanning in the scala utils jar. There is this bug report that claims it's fixed, but it seems to still happen wit 7.0.53.Since the application doesn't rely on Tomcat's annotation scanning, here is the … Continue reading Tomcat/Scala: invalid byte tag in constant pool: 110

Annotations, Java compiler and missing debugging information

So I play with my favorite ant build script and a day later nearly every annotation is broken:java.lang.IllegalStateException: No parameter name specified for argument of type [java.lang.String], and no parameter name information found in class file either.as far as the eye goes. What actually happened is that the new deployment skips debugging information in the … Continue reading Annotations, Java compiler and missing debugging information