I have a basic question…could not able to find out why its not working…below piece of code is not working when I use @Override annotation. Please help
public class QuartzJob
implements ApplicationListener<ContextRefreshedEvent>
{
@Override
public void onApplicationEvent(ContextRefreshedEvent event) {
}
}
My guess is, that you are compiling for Java 1.5 and only from Java 1.6 implementing an interface method it is possible (and good style) to add
@Override.