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 java compilation, which makes anything working with reflection rather useless, such as annotation processing.

Also a nice read hear [1]

[1] Spring @PathVariable Head-slapper
http://www.objectpartners.com/2010/08/12/spring-pathvariable-head-slapper/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.