• 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

set priority visit classpath

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,guys
My document interface have two concrete classes.how can i appoint to (1)and first visit (1) api.
(1)org.apache.crimson.tree.ElementNode
(2)com.caucho.xml.QElement
my WAS is 'resin'
Thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have several versions of the same class (i.e. the package name and the class name match), the classloader picks up the first one listed in your classpath.
For example, if your classpath looks like "C:\libs\foo.jar;C:\libs\bar.jar" and both foo.jar and bar.jar contain a class utils.text.StringHelper, the classloader loads the class from within foo.jar as it's listed first in the classpath.
Did that help at all?
 
qingwu wang
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my second package is in the 'resin' which is my WAS.my first package is in the j2ee.jar which I set classpath in the w2k env variable.so I didn't set (2).then I think I cann't change them place.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you need something more specific than the interface?
 
reply
    Bookmark Topic Watch Topic
  • New Topic