读书人

求达人解决:tomcat5.5换到7.0 服务器

发布时间: 2012-12-15 15:16:03 作者: rapoo

求达人解决:tomcat5.5换到7.0 服务器上没有问题 本地测试出现如下代码
HTTP Status 500 - Unable to compile class for JSP: An error occurred at line: 15 in the generated java file Only a type can be imported.
.............
Unable to compile class for JSP: An error occurred at line: 15 in the generated java file Only a type can be imported. org.jfree.chart.ChartFactory resolves to a package An error occurred at line: 16 in the generated java file Only a type can be imported.
................


Month cannot be resolved to a type


满页面全是问题 求解
[最优解释]
明显的是缺少包org.jfree.chart.ChartFactory resolves to a package An error
[其他解释]
第15行出现的问题,贴出来~
[其他解释]
Month cannot be resolved to a type,这个问题需要改换成调用Date或者Calendar,再得到Month值
[其他解释]
改用MYECLIPSE了 谢谢各位达人
[其他解释]
null

读书人网 >Java Web开发

热点推荐