I am getting a problem on this line:
@Resource
public void setMessageDrivenContext(MessageDrivenContext context) {
this.context = context;
}
The message is:
JSR250: CommonAnnotations for Java, 2.3: @Resource methods must be setters that follow the standard JavaBeans convention. i.e. void "setProperty( value)" for " property".
ProjGatewayBean.java /DocViewerEJB/src/main/java/com/tscdv/document/b/beans line 72 Annotation Problem
What could be the problem, and how do I resolve it?
I have upgraded editor from Rad 7.5 to 8 and maven 2 to 3. This happens just after importing the maven projects, but I have no errors on any pom files.
I have some other issue with two xml files that might be related, separated into a new post: