I am very new to Spring, reading Spring in Action 4th edition. I downloaded 4.2.2 release API, and wrote some code. When I run main method of GeometryTest, it gives NullPointerException. Why automatic wiring is not working? What am I missing? Please help.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------