ERROR - The annotation @JavaBean is disallowed for this location

Error

The annotation @JavaBean is disallowed for this location


Error Type


Compile Time


Possible Cause

Annotation @JavaBean is not allowed at this location. It's a class level annotations and hence should be placed at class level only.


Resolution

Specify the annotation at class level. 

@JavaBean(description = "",defaultProperty="",defaultEventSet="")
public class Test {
}

Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus