自部署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


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