Java简单问题, 请各位高手帮忙解决, 急! 在线等...Help! Help! Help!

程序用netWeaver部署后编译却出现这样的错误, 在eclipse中是正常, 请各位大侠们看看, 错误信息:
The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Iterable. Fix the classpath then try rebuilding this project.

This compilation unit indirectly references the missing type java.lang.Iterable (typically some required class file is referencing a type outside the classpath).

环境变量处问题了,
查下你的环境变量有没设好。追问

谢谢, 但是在eclipse下 编译,部署,发布一切都正常的, 请问要是环境变量的问题, 是不是netWeaver配置的环境有问题呢?

追答

你把程序放到记事本保存起来,再到dos窗口运行下,如果不可以就是环境变量,,要是可以就是那个软件问题。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2011-10-17
导入的包路径不对当然找不到了
相似回答