报错 Access restriction: The type VerticalTextSpinner is not accessible due to restriction on required library........
查了下竟然是编译器报错,orz了。
Access restriction: 访问限制
on required library: 在依赖库(第三方包)
那就简单了,取消限制就好,
eclipse的Window - preference - Java -Compiler - Errors/Warnings界面的Deprecated and restricted API下。把Forbidden reference (access rules): 的规则由默认的Error改为Warning即可。
idea没有这种报错