JpetStore « Bean « Spring Q&A

1. error creating bean - JpetStore example

Please help me resolve this I am constantly getting this error Error creating bean with name 'sqlMapClient' defined in ServletContext resource Thanks

 31 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
140 [main] ...

2. newbie jpetstore property question

The name="petStore" part refers to a class member variable. See the bean's class attribute, it should contain a "petStore" variable AND a public setPetStore(...) setter method. The latter ref="petStore" refers to ...