Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEli Goodwin
29,502 Points@Autowired and sessionFactoryBean in giflib not autowiring
I am following along with the video. When I attempt to autowire anything in my app giflib I keep getting warnings about field injection is not recommended. When I attempt to run the app after entering all the info shown in the video series the Spring app will not start because all of the objects that are dependent on the sessionFactory are not being autowired. When I examine the LocalSessionFactory bean in DataConfig it will show me the autowired candidates and clicking on the icon will direct me to the appropriate DAO. I am more than lost here.
Eli Goodwin
29,502 PointsEli Goodwin
29,502 PointsCould the instructor for the video provide insight as to why this is happening?