Deal of the Day

Home » Main » Manning Forums » 2008 » Spring in Practice

Thread: Error while trying code in chapter 4

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Pages: 1 - Last Post: Feb 23, 2010 10:32 PM by: livando Threads: [ Previous | Next ]
gunacesun

Posts: 1
Registered: 11/25/09
Error while trying code in chapter 4
Posted: Nov 25, 2009 2:16 PM
  Click to reply to this thread Reply

I tried the code in chapter 4, I got a NPE in validator.validate(...) (Listing 4.6). You have any idea what the problem could be?

Thanks,
Ganesh

livando

Posts: 2
From: Cincinnati, OH
Registered: 2/16/10
Re: Error while trying code in chapter 4
Posted: Feb 23, 2010 10:32 PM   in response to: gunacesun in response to: gunacesun
  Click to reply to this thread Reply

I got the same error in chapter 4. For reasons I haven't figured out yet, autowire stopped working from 4_2 to 4_3. Once I set the properties in the *servlet.xml I got it working.

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff