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
本文介绍了一种在使用JDK注解实现webservice时遇到的类型java.lang.CharSequence无法解析的问题。通过将JDK版本从1.8降级到1.7解决了此问题。分析表明,JDK 1.8可能存在稳定性问题。
256





