| Author |
Pro Spring Book Question
|
Mike London
Ranch Hand
Joined: Jul 12, 2002
Posts: 867
|
|
Hello, On page 30 of "Pro Spring" there's an example class with the following line of code: BeanFactory factory = getBeanFactory(); This line does not compile for me. The three imports at the top of the class are fine as far as MyEclipse is concerned and MyEclipse is using the 1.2 Spring Libraries. I was wondering if anyone else had run into this problem. Thanks!!! -- M
|
 |
Ken Krebs
Ranch Hand
Joined: Nov 27, 2002
Posts: 451
|
|
Did you add the static getBeanFactory method which is right below the main method you are referring to ? Perhaps you didn't mark it static.
|
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
|
 |
Mike London
Ranch Hand
Joined: Jul 12, 2002
Posts: 867
|
|
Yup, that was it. Thanks. (embarassed) -- M
|
 |
 |
|
|
subject: Pro Spring Book Question
|
|
|