我用eclipse引用了JSPSmart的jar文件,但是调试的时候出现了下面的问题:
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 32 in the jsp file: /uploadCourseware.jsp
Generated servlet error:
SmartUpload cannot be resolved or is not a type
An error occurred at line: 32 in the jsp file: /uploadCourseware.jsp
Generated servlet error:
SmartUpload cannot be resolved or is not a type
就是这个SmartUpload cannot be resolved or is not a type,什么意思啊?
其实根本还没执行代码呢
难道我导入的路径不对吗?哪位大哥能救我啊,多谢了!!!!
------解决方案--------------------
uploadCourseware.jsp文件有错误,数据类型有问题,仔细检查一下吧。
------解决方案--------------------
jspsmart.jar 导入到web-inf->lib文件夹下,再在eclipse下的web应用工程中选择properties->java build path->libraries 添加jar
代码迷推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.daimami.com/search?q=2308