This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Problem in configiring Spring aspects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problem in configiring Spring aspects" Watch "Problem in configiring Spring aspects" New topic
Author

Problem in configiring Spring aspects

RajivAwadhesh kumar
Greenhorn

Joined: May 20, 2011
Posts: 24
Hi ,

I tried the example of Spring aspects given in Spring in Action 3rd Edition(Manning).
I am having the problem while running the example.
Following are the java source files and xml configuration file.


"knights.xml"










The error am getting is follows




Please suggest what is the error?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

You are misisng the aopalliance.jar file from your classpath. To use Spring and Spring AOP requires jar files in your classpath. It is more than just one jar, and it appears that you have at least one jar missing.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
RajivAwadhesh kumar
Greenhorn

Joined: May 20, 2011
Posts: 24
I added the necessary jars.. I had thought that all jars would be available with
the Spring 3.0 distribution i downloaded and added in my classpath.

But few of the jars were missing..When aop is integral to Spring
i cant understand why we have to add some jars separately
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in configiring Spring aspects
 
Similar Threads
SHA1 digest error for javax/mail/MessagingException
Starting Websphere 6.0 in Eclipse3.3
package javax.servlet.http does not exist
is exist any multi record catalogue? or better to use DB? or array?
Connecting to remote database