Unable to compile class for JSP:cartBean cannot be resolved to a typeException reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:Unable to

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/06 15:13:50
Unable to compile class for JSP:cartBean cannot be resolved to a typeException reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:Unable to
x[OAxW0&`f.,;.H0B` fwofەsjB7;2,Ȧy pL3E]NrcbM jێ y \ǪBA6Q"1ب1ip]ZRf ؆Spd ٔCZ8]c]D CP*S"wIbM20]I\AKe(6I]\˩`::o&9"@9_ C;5XBa-WaT2,:t .# Һ[vC{2C yT: '1A)q'u1V\"XbXvA&iJNǻ:!eT|}N$z:AyCN+ ':BF]J,&qM`]ez*A̚P뽎+_  b}N$6+#-m%& jR5YEe!6?k r}>p1xvev-!Xv+ly'Ǚ`c;\q1~wY)qu`,?UZʫXFLwuß;j.a/bÙ`F;z]^w%K޾U+WhmZǃNɘý-k e@

Unable to compile class for JSP:cartBean cannot be resolved to a typeException reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:Unable to
Unable to compile class for JSP:cartBean cannot be resolved to a type
Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException:Unable to compile class for JSP:
An error occurred at line:48 in the jsp file:/shoppingcart.jsp
cartBean cannot be resolved to a type
45:
46:
An error occurred at line:48 in the jsp file:/shoppingcart.jsp
cartBean cannot be resolved to a type
45:
46:
Stacktrace:
\x05org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
\x05org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
\x05org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
\x05org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
\x05org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
\x05org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
\x05org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
\x05org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
\x05org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
\x05org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
\x05javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
不是,大小写没有错!

Unable to compile class for JSP:cartBean cannot be resolved to a typeException reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:Unable to
你检查下你的类是不是放在了/webapps/工程名/WEB-INF/classes/包名下,我也出现了你一样的错误,但是把java文件打包后就可以了.在你的Java文件开头加上package 包名吧.