• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting NoClassDefFoundError

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai all,

i AM Gettign : java.lang.NoClassDefFoundError rg/springframework/util/Assert

Error when i am creating sessionfactory from an applicationContext.xml file, can anybody help me to solve this problem and may i know why this error is coming.

Thanks in Advance
SuneelKota
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you put spring.jar in your CLASSPATH ?
Or at least spring-core.jar ?
 
suneel kota
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Satou,

I put spring.jar file in my project properties. i am using ecilipse 3.1 IDE. Is it complosary to have spring-core.jar in properties file..

Thanx for ur reply..

Regards
SuneelKota
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you've got spring.jar, it's ok.
Maybe your Eclipse is not set properly. When you execute your application, you can check the Classpath settings in the "Run" window. Make sure spring.jar is in it.
 
suneel kota
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi satou,

Thanx for ur reply. i have been solved that problem by placing new updation of spring.jar file..

Thanx for your help..

Regards
SuneelKota
reply
    Bookmark Topic Watch Topic
  • New Topic