• 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

Using Apache Commons Configuration

 
Ranch Hand
Posts: 377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is my first attempt to use Commons Configuration and I am stuck right out of the box. I am setting up a test app and I don't know if this is my misunderstanding of what it does or something else. To make my environment clear I am using Eclipse and downloaded the configuration library. I then imported it into my project with the Eclipse build configure dialog. In Eclipse I can see the library as a branch of the correct tree. Here is my simple test code:

When I try to initialize 'config' I get a classNotFoundException (line 22). However, when I drill down the tree I can see that class. Can someone see what I am doing wrong? TIA.
 
Dennis Putnam
Ranch Hand
Posts: 377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After some searching I think I am missing a dependency. I think I need the commons exception runtime archive. However, I cannot find where to get it. Am I on the wrong track?
reply
    Bookmark Topic Watch Topic
  • New Topic