eclipse出现:The type java.lang.Object cannot be resolved. It is indirectly referenced from required 错误,
<script type="text/javascript">
</script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
是因为导入Elcipse的工程classpath中指定的JDK版本和你eclipse中JRE的版本不符,Project->build path->config build path, 然后把它用到JRE System library给remove,再add你的jre就行了