aspose file tools*
The moose likes Spring and the fly likes Dependencies required for Spring AOP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Dependencies required for Spring AOP" Watch "Dependencies required for Spring AOP" New topic
Author

Dependencies required for Spring AOP

Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

I was trying to execute the examples given in Spring in Action third edition book. But i got errors like classNotFoundException..

I don't remember the exact errors..

Can any one please tell me on what entries i should have in my POM.XML to make spring aop work?


Regards
Sudhakar
Sumeet H Singh
Greenhorn

Joined: Jan 03, 2009
Posts: 29
Hi Sudharkar,

Can you please post the code that you are trying to run...
Would be able to help you better by having a look at it.

--
Sumeet
SCJP, SCWCD


Sumeet
SCJP, SCWCD
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Sumeet H Singh wrote:

Can you please post the code that you are trying to run...



I wish i could do that..but i tried code at home,which i dont have now..

I am pretty sure that it is some thing related to jars...

Please post your dependencies in pom.xml...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Personally, I was not using pom.xml when I made samples for that book. If you know which class is missing, you can easily find out which jar it's in by googling it, or by searching it in the Maven Repository.


[My Blog]
All roads lead to JavaRanch
Sumeet H Singh
Greenhorn

Joined: Jan 03, 2009
Posts: 29
Sorry dude,
Haven't used Maven..
Have used c3p0..

--
Sumeet
SCJP, SCWCD
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Sumeet H Singh wrote:
Haven't used Maven..
Have used c3p0..

What has c3p0 to do with this ??
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Christophe Verré wrote:Personally, I was not using pom.xml when I made samples for that book. If you know which class is missing, you can easily find out which jar it's in by googling it, or by searching it in the Maven Repository.


I dont have any experience with either ant or maven..so just trying these in my samples.

Chris,

Do you have the sample splitter application, which is explained in the book? From where can i download it..?

Thanks
Sudhakar
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I don't have it here. I just made the samples by following the examples of the book. If you tell us which class is not found, we can find out which jar is missing. There are good chances that you'll need :
org.springframework.aop-3.0.X.RELEASE.jar
org.springframework.asm-3.0.X.RELEASE.jar
org.springframework.aspects-3.0.X.RELEASE.jar
and maybe things like ASM and CGLIB.
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Christophe Verré wrote:I don't have it here. I just made the samples by following the examples of the book. If you tell us which class is not found, we can find out which jar is missing. There are good chances that you'll need :
org.springframework.aop-3.0.X.RELEASE.jar
org.springframework.asm-3.0.X.RELEASE.jar
org.springframework.aspects-3.0.X.RELEASE.jar
and maybe things like ASM and CGLIB.


Thanks chris for your time & replies..

Planning to complete atleast three chapters this weekend.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dependencies required for Spring AOP