社区
Web 开发
帖子详情
Student cannot be resolved to a type
拾荒者101
2015-09-10 08:35:58
...全文
1116
2
打赏
收藏
Student cannot be resolved to a type
[图片]
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
zhuangqingch
2015-09-10
打赏
举报
回复
<%@ page import="xxx.xxx.xx.Student" %>
zhuangqingch
2015-09-10
打赏
举报
回复
类没有引入,所以才报错, 在JSP文件最上面引入Student类就可以了:<%@ page import="xxx.xxx.xx.Student*" %>
“
Student
cannot be
resolved
to a
type
” 解决办法
“
Student
cannot be
resolved
to a
type
” 解决办法 解决这种问题的根本原因是
Student
类(我这里是
Student
类)的字节码文件没有存在于tomcat的web目录中,无法调用该类 idea解决方法 把classes文件夹下的文件全部都...
Eclipse中 XXX cannot be
resolved
to a
type
的解决方案
在eclipse的使用过程中,经常会遇到XXX cannot be
resolved
to a
type
的问题,其字面意义是无法识别的类型,也就是说你的代码中有可能存在以下几种情况:(1)未导入的包;(2)写错的Class Name;(3)未创建却被...
Eclipse “cannot be
resolved
to a
type
” error
eclipse新导入的项目经常可以看到“XX cannot be
resolved
to a
type
”的报错信息。本文将做以简单总结。 正文: (1)jdk不匹配(或不存在) 项目指定的jdk为“jdk1.6.0_18”,而当前eclipse...
XXX cannot be
resolved
to a
type
解决方案
在JSP页面需要用到一个Bean对象,所以在src目录下新建了一个
student
类,访问时却报错 但是类已经创建并且导入了,重启服务器也不起作用。 需要更新一下类和资源后成功
JSP出现 类名 cannot be
resolved
to a
type
错误时,个人解决办法
当时是做添加功能,为了方便,就将同一项目下的另一个类复制过来使用,结果就跳出cannot be
resolved
to a
type
错误。因为测试的时候,就只有这一个类报错,以为是代码问题,还困扰了很久。后面重新运行其他类时,...
Web 开发
81,117
社区成员
341,739
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章