What they probably mean is that it is not a right name according to bean specs. If the method is setting a value and the var is e.g. myVar, then the method should be called 'setMyVar' not modifyMyValue or whatever else. This has nothing to do with compilation...