The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files.
軟件環境:
win7 64bit
jdk 1.8
場景:
利用JDK註解實現webservice。
解決辦法:
更改jdk版本爲1.7。
原因分析:
jdk1.8不穩定。
參考:http://stackoverflow.com/questions/24301986/the-type-java-lang-charsequence-cannot-be-resolved-in-package-declaration