title: WEB-INF/classes/ vs WEB-INF/lib/*.jar in classpath priority?
body: <p>a war packaged for a tomcat webapp contains WEB-INF/classes and WEB-INF/lib/*.jar</p>
  
  <p>which of them has higher priority in the CLASSPATH?</p>
  
  <p>the reason I'm asking is, that my application uses A.jar, which contains aspects generated from an aspectj project; and B.jar, which are to be woven with the aspects from A.jar.
  when the project myapp is compiled, it generates many Classes which override those same classes from B.jar, these are packaged into the WEB-INF/classes dir. so if tomcat load WEB-INF/lib/*.jar first, then the woven aspects won't take effect</p>