Skip to content

Commit

Permalink
fix:http class not fund
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewest authored and i36lib committed Aug 17, 2024
1 parent c61e444 commit 1b76204
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public void onMethodEnter(Object thiz, Object[] allArgs, Method originMethod) th
Class<?> httpRespClazz;
try {
httpReqClazz = Class.forName(
"javax.servlet.http.HttpServletRequest", false, AbstractServletInterceptor.class.getClassLoader()
"javax.servlet.http.HttpServletRequest", false, Thread.currentThread().getContextClassLoader()
);
httpRespClazz = Class.forName(
"javax.servlet.http.HttpServletResponse", false, AbstractServletInterceptor.class.getClassLoader()
"javax.servlet.http.HttpServletResponse", false, Thread.currentThread().getContextClassLoader()
);
} catch (ClassNotFoundException e) {
// warning that we can't intercept the servlet
Expand Down

0 comments on commit 1b76204

Please sign in to comment.