-1

I'm using the JSP-mehtod isUserInRole('Admin') which Eclipse marks as an Error as follows The method getIsUserInRole() is undefined for the type HttpServletRequest. It's red underlined, but the code works fine. The method at this path exists. What should I do and does it prevents building the project?

sven_meye_97
  • 43
  • 10
  • Please revise the signature of your request handle method, as it will never get invoked by the container. – Jerry Chin Sep 27 '16 at 07:23
  • Give us some details, at least stack trace of error. I think your application is not building. So not deployed to server. If there is ClassNotFoundException i think you missing some dependencies, for example commons-fileupload. But give us error detail, which class is not found? – aios Sep 27 '16 at 07:28

1 Answers1

1

I think, you should mention following:

  • In which case does it throws 404.
  • For which class, it throws ClassNotFoundException.
Atul Kumar
  • 421
  • 3
  • 12