Wednesday, April 13, 2011

Possible Eclipse Bug

Wondering if this is an Eclipse Bug or not...

When I try using the annotation on my class, I get a compile error because the package is not imported on my project.

Hovering over the attribute gives me long list of Service classes:
  • javax.mail.Service
  • ...
and the following message:
"Attribute information for this '@Service' instance:
Unspecified attributes:
interfaces, value"

What does that even mean?
What's odd is that Ctrl+1 gives me the proper quickfix: to import

Whats really odd is that, now that the Service annotation class is resolved and the error is gone, hovering over it still gives me the original message!
Post a Comment