Can't resolve HTTPSERVERLETRESPONSE

Hi.

I am new to intellij, when I compile the code, it says can't resolve HttpServletResponse, checked libraries setting, it includes j2ee.jar. What might be wrong ?

thanks for the help.

3 comments

In article <3674398.1103035793410.JavaMail.itn@is.intellij.net>,
Shu-Rong Kuo <no_mail@jetbrains.com> wrote:

Hi.

I am new to intellij, when I compile the code, it says can't resolve
HttpServletResponse, checked libraries setting, it includes j2ee.jar. What
might be wrong ?

thanks for the help.


If your library setting is in either project or global make sure the
check-box is checked off so the library is included in your classpath.

R

0

Hi. Robert

thanks for your help. The check box is off. I have quite a few jar files may be over 10 in the library, do you think this might be the reason ?

thanks again for the help.

0

In article <15306925.1103041245589.JavaMail.itn@is.intellij.net>,
Shu-Rong Kuo <no_mail@jetbrains.com> wrote:

Hi. Robert

thanks for your help. The check box is off. I have quite a few jar files
may be over 10 in the library, do you think this might be the reason ?

thanks again for the help.


yup, if it's not checked off that means the library is not included in
your project, it is just there, it exists, but not being used.

hth
R

0

Please sign in to leave a comment.