Think only web-inf/classez is guaranteed to be first but using jaxrs.txt you should have a guaranteed order.
Side note: tomcat just added a flag on snapshot to have a sorting, will come in tomee with a next release. Le 25 oct. 2015 02:24, "Jonathan S. Fisher" <jonat...@springventuregroup.com> a écrit : > Hey guys, > > I have a library from a 3rd party in my WEB-INF/lib/some.jar. It has a > single bug in it. Is it possible to load one of the classes from somewhere > else? > > Another words what I'm asking is, what order does TomEE load classes from > the classpath from or is it even guaranteed to be in a certain order? > > Thanks! > > -Jonathan > > -- > Email Confidentiality Notice: The information contained in this > transmission is confidential, proprietary or privileged and may be subject > to protection under the law, including the Health Insurance Portability and > Accountability Act (HIPAA). The message is intended for the sole use of the > individual or entity to whom it is addressed. If you are not the intended > recipient, you are notified that any use, distribution or copying of the > message is strictly prohibited and may subject you to criminal or civil > penalties. If you received this transmission in error, please contact the > sender immediately by replying to this email and delete the material from > any computer. >