Inspectopedia Help

Missing @Required property injections in the spring xml bean declaration

Reports @Required setter bean properties that are not injected or autowired.

Example:

<beans> <bean class="beans.MyComponent" id="foo"/> <!-- reports "Required properties missing: 'port'" --> </beans>
public class MyComponent { @Required public void setPort(int port) // reports "Required property 'port' is not injected" {...} }

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Spring, 233.SNAPSHOT

Last modified: 13 July 2023