自部署webservice出現The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from

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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章