Eclipse 项目有红感叹号[error]

[问题原因】:工程中classpath中指向的包路径错误

你用myeclipse新建 web工程, 在工程目录下会生成一个 .classpath 配置文件, 里面是你工程里面引用的jar的配置。这个.classpath 对你的web工程没有什么影响
其实是给 myeclipse 识别的。

你说的这种情况是因为 .classpath 文件里面配置引用了某个jar,但是实际上你的 lib 里面并没有这个jar 所以才会有红色的提示
你不用拿.classpath文件和你的jar一个个去找,你现在打开MyEclipse,右键单击你的web工程,找到 Build Path > Configure Build Path…  > 然后上面有几个选项卡找到 Libraries。

这里看到的就是你工程里面引用的 所有的 jar , 看看是不是在某个jar图标上有个很小的黄色的感叹号?
如果有的话就没错了, 先选中这个jar, 点击右边的 Remove  > 点击OK , 等待几秒,现在web工程上面的红色XX是不是没有了.
解释一下:黄色的感叹号的jar,表示.classpath配置文件引用了jar, 但是实际上lib里面没有这个jar

java.lang.StackOverflowError

解决方法:1.错误原因:   项目的 JRE 包没有正常导入,导致Eclipse不能正常的编译project。
解决方案:  导出项目后,选中项目-右键–>Build Path–>Configure Build Path–>Libraries–>删除未正确导入的包–>添加必须的包。
遇到相同问题的朋友可以参考一下。

Title: Apache Sanselan
Artifact: sanselan
Version: 0.97-incubator
Name: Apache Sanselan
Description: Apache Sanselan is a pure-Java image library.
URL: http://sanselan.apache.org/
Download: MAVEN2 http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/sanselan/sanselan/0.97-incubator/sanselan-0.97-incubator.jar
Size: 495.0 KB
可能是开发环境的JDK和目标环境的JDK不同,可以使用目标环境的JDK重新编译程序试试。
以前我们开发用win平台32位sun jdk,在开发环境一切正常,但部署到aix 64位的was后会产生StackOverflowError,解决办法就是用aix was的64位jdk重新编译代码后部署。

error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize').
screenSize and smallestScreenSize are only supported in API Level 13, which means Honeycomb, are you sure you need them? As they are quite Honeycomb specific.

uiMode needs API Level 8.

From the official AdMob Documentation:

Requirements

The Google AdMob Ads SDK for Android requires Android 1.5 or laterMake sure you have the latest copy of the Android SDK and that you’re compiling against at least Android v3.2 (set target in default.properties to android-13).

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

生活在西班牙

自己动手丰衣足食

BlueAsteroid

Just another WordPress.com site

Jing's Blog

Just another WordPress.com site

Start from here......

我的心情魔方

天才遠私廚

希望能做一個分享各種資訊的好地方

语义噪声

西瓜大丸子汤的博客

笑对人生,傲立寰宇

Just another WordPress.com site

Where On Earth Is Waldo?

A Project By Melanie Coles

the Serious Computer Vision Blog

A blog about computer vision and serious stuff

Cauthy's Blog

paper review...

Cornell Computer Vision Seminar Blog

Blog for CS 7670 - Special Topics in Computer Vision

datarazzi

Life through nerd-colored glasses

Luciana Haill

Brainwaves Augmenting Consciousness

槑烎

1,2,∞

Dr Paul Tennent

and the university of nottingham

turn off the lights, please

A bunch of random, thinned and stateless thoughts around the Web

%d bloggers like this: