The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class

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


你可能感兴趣的:(java历程)