Hello everyone, I am very new to the Spring development and I want to learn in without going through expensive courses.
Because of that I bought a book Manning Spring in Action 2nd Edition. That book being much more understandable than other references
I try to follow every example with Netbeans IDE which supports Spring 2.5 library. Now I am stuck in the 2nd exercise of the first chapter
of the book.Here is the class I hope you are
Try catch is for my self because otherwise it throws a huge number of errors. So far I can catch this error
This is the XML code that should do the trick but it doesn't
I am a person who can understand things properly in their execution. So if you can help me that will be brilliant.
For the full code source code is available in http://www.manning.com/walls3/ and in that source code its chapter 1's knights example.
Once again a simple solution which I can do with Netbeans will be very appreciated.
Not what I asked. I asked you to list, specifically, the libraries you're deploying. Or maybe how you're trying to run it. One way or another, the missing class isn't there when the program is being run.
David Newton wrote:Looks like you're missing library dependencies.
just add this library : aspectjrt.jar ---> (spring-framework-2.5.6.SEC01\lib\aspectj)
Hope this could help.
Yes I add both aspectjrt.jar and aspectweaver.jar and it works. Strange I thought these would have resided in Spring Libraries that Netbeans have.
About Deployment I don't know the details but netbeans usually do jar modification and other stuff it self. I don't think it does anything fancy.