eclipse导入后出现红叉是什么问题?程序在别的电脑上能跑

tinna_azure 2012-05-15 04:12:53
[size=10px]
Severity and Description Path Resource Location Creation Time Id
ArrayList cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages upload.jsp line 38 1337065407965 8120
ArrayList cannot be resolved to a type SensorIt/WebRoot/pages upload.jsp line 38 1337065407961 7921
BmConstAntibiotics cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages sysresa.jsp line 13 1337065407966 8147
BmConstAntibiotics cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages sysresa.jsp line 16 1337065407966 8148
BmConstAntibiotics cannot be resolved to a type SensorIt/WebRoot/pages sysresa.jsp line 13 1337065407962 7948
BmConstAntibiotics cannot be resolved to a type SensorIt/WebRoot/pages sysresa.jsp line 16 1337065407962 7949
BmConstHospital cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages showtype1.jsp line 62 1337065407966 8167

BmConstHospital cannot be resolved to a type SensorIt/WebRoot/pages showtype1.jsp line 62 1337065407962 7968
BmConstHospital cannot be resolved to a type SensorIt/WebRoot/pages showtype1.jsp line 62 1337065407962 7969
BmConstHospital cannot be resolved to a type SensorIt/WebRoot/pages sysresh.jsp line 13 1337065407962 7941
BmConstHospital cannot be resolved to a type SensorIt/WebRoot/pages sysresh.jsp line 16 1337065407962 7942
BmConstOperationType cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages sysres.jsp line 14 1337065407966 8154
BmConstOperationType cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages sysres.jsp line 17 1337065407966 8155
BmConstOperationType cannot be resolved to a type SensorIt/WebRoot/pages sysres.jsp line 14 1337065407962 7955
BmConstOperationType cannot be resolved to a type SensorIt/WebRoot/pages sysres.jsp line 17 1337065407962 7956
BmSysuser cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages getimage.jsp line 6 1337065407969 8284
BufferedOutputStream cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages process.jsp line 54 1337065407967 8194
BufferedOutputStream cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages process.jsp line 73 1337065407967 8200
BufferedOutputStream cannot be resolved to a type SensorIt/WebRoot/pages process.jsp line 54 1337065407963 7995
BufferedOutputStream cannot be resolved to a type SensorIt/WebRoot/pages process.jsp line 73 1337065407963 8001
Check cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 181 1337065407968 8220
Check cannot be resolved SensorIt/WebRoot/pages process.jsp line 181 1337065407963 8021
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 249 1337065407968 8230
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 250 1337065407968 8234
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 251 1337065407968 8238
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 252 1337065407968 8242
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 253 1337065407968 8246
ConnSybase cannot be resolved SensorIt/SensorIt/WebRoot/pages process.jsp line 254 1337065407968 8250
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 249 1337065407964 8031
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 250 1337065407964 8035
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 251 1337065407964 8039
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 252 1337065407964 8043
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 253 1337065407964 8047
ConnSybase cannot be resolved SensorIt/WebRoot/pages process.jsp line 254 1337065407964 8051
Constants cannot be resolved SensorIt/SensorIt/WebRoot/pages upload.jsp line 44 1337065407965 8124
Constants cannot be resolved SensorIt/SensorIt/WebRoot/pages upload.jsp line 55 1337065407965 8130
Constants cannot be resolved SensorIt/WebRoot/pages upload.jsp line 44 1337065407961 7925
Constants cannot be resolved SensorIt/WebRoot/pages upload.jsp line 55 1337065407961 7931
Date cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages upload.jsp line 35 1337065407965 8117
Date cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages upload.jsp line 66 1337065407965 8134
Date cannot be resolved to a type SensorIt/WebRoot/pages upload.jsp line 35 1337065407961 7918
Date cannot be resolved to a type SensorIt/WebRoot/pages upload.jsp line 66 1337065407961 7935
Enumeration cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages process.jsp line 49 1337065407967 8192
Enumeration cannot be resolved to a type SensorIt/WebRoot/pages process.jsp line 49 1337065407963 7993
File cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages upload.jsp line 44 1337065407965 8122
InputStream cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages process.jsp line 53 1337065407967 8193
Integer cannot be resolved SensorIt/SensorIt/WebRoot/pages getimages.jsp line 23 1337065407969 8276
Iterator cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages sysres.jsp line 14 1337065407966 8153
__proto__ declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype prototype.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype/prototype.js 1337065392121 6526
_getElementsByXPath declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype prototype.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype/prototype.js 1337065392155 6547
$ declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391283 6301
A dot following a number can be confused with a decimal point. SensorIt/SensorIt/WebRoot/js/ext/build/widgets Panel-min.js line 9 1337065397537 7227
ActiveXObject declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391319 6343
addEventListener declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391316 6333
AddFavorite declaration is not found SensorIt/SensorIt/WebRoot/images common.js L/SensorIt/SensorIt/WebRoot/images/common.js 1337065391199 6293
apply declaration is not found SensorIt/SensorIt/WebRoot/js/ext/build/util Format-min.js L/SensorIt/SensorIt/WebRoot/js/ext/build/util/Format-min.js 1337065397202 7132
Attribute name (LANGUAGE) uses wrong case character. make/WebRoot stuadd.jsp line 405 1337065411511 8504
call declaration is not found SensorIt/SensorIt/WebRoot/js/ext/build/util Format-min.js L/SensorIt/SensorIt/WebRoot/js/ext/build/util/Format-min.js 1337065397203 7133
childNodes declaration is not found SensorIt/SensorIt/WebRoot/images hf.js L/SensorIt/SensorIt/WebRoot/images/hf.js 1337065391206 6299
className declaration is not found SensorIt/SensorIt/WebRoot/images hf.js L/SensorIt/SensorIt/WebRoot/images/hf.js 1337065391206 6297
clientHeight declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/ext ext-base.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/ext/ext-base.js 1337065391568 6383
compatMode declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391296 6326
createDocumentFragment declaration is not found SensorIt/SensorIt/WebRoot/js/ext/build/core DomHelper-min.js L/SensorIt/SensorIt/WebRoot/js/ext/build/core/DomHelper-min.js 1337065394576 6759
createEvent declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype prototype.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype/prototype.js 1337065392189 6612
defaultView declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391288 6307
doScroll declaration is not found SensorIt/SensorIt/WebRoot/images jquery-1.2.6.js L/SensorIt/SensorIt/WebRoot/images/jquery-1.2.6.js 1337065391316 6335
evaluate declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype prototype.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype/prototype.js 1337065392121 6524

Event declaration is not found SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype prototype.js L/SensorIt/SensorIt/WebRoot/js/ext/adapter/prototype/prototype.js 1337065392187 6609
Expected ';' and instead saw '}'. SensorIt/SensorIt/WebRoot/js api_v2.0.js line 3 1337065391447 6357
...全文
1152 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
yelansiyou 2013-10-16
  • 打赏
  • 举报
回复
引用 5 楼 gy127132060 的回复:
在项目上右击->Properties->Java Build Path->Libraries选择卡->删包、填包。。。
这个对我有用!!
yelansiyou 2013-10-16
  • 打赏
  • 举报
回复
[quote]在项目上右击->Properties->Java Build Path->Libraries选择卡->删包、填包。。。[quote] 这个对我有用!!
Danielankang 2012-06-01
  • 打赏
  • 举报
回复
引入项目后,在你的项目列表里会列出你的所有需要的包,但是很可能会路径不正确;包不能少,所以需要删除无用的路径,重新引入需要的包(jdk同样需要确认)。“在项目上右击->Properties->Java Build Path->Libraries选择卡->删包、填包。。。”
hicky7 2012-05-31
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 的回复:]

在项目上右击->Properties->Java Build Path->Libraries选择卡->删包、填包。。。
[/Quote]删什么包,又该填什么包啊。
昨日凡阳 2012-05-15
  • 打赏
  • 举报
回复
[Quote=引用楼主 的回复:]
[size=10px]
Severity and Description Path Resource Location Creation Time Id
ArrayList cannot be resolved to a type SensorIt/SensorIt/WebRoot/pages upload.jsp line 38 1337065407965 8120
ArrayList c……
[/Quote]

你这个,ArrayList 都不认识。
应该是jdk没有引进来,或者引入的不对。你看看buildpath中的jdk路径。
dxp8611178 2012-05-15
  • 打赏
  • 举报
回复
导入的不正确,嘿嘿
香蕉猪 2012-05-15
  • 打赏
  • 举报
回复
在项目上右击->Properties->Java Build Path->Libraries选择卡->删包、填包。。。
tinna_azure 2012-05-15
  • 打赏
  • 举报
回复
我水平实在太次,能否再详细点。

[Quote=引用 2 楼 的回复:]

看看jar路径是否一致,最后是在eclipse的 build path中删除掉 ,然后重新加进来
[/Quote]
tinna_azure 2012-05-15
  • 打赏
  • 举报
回复
我水平实在是太次,能否再详细点?
五哥 2012-05-15
  • 打赏
  • 举报
回复
看看jar路径是否一致,最后是在eclipse的 build path中删除掉 ,然后重新加进来
shadow4222 2012-05-15
  • 打赏
  • 举报
回复
jdk版本是否一致 编码是否一致

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧