之前tomcat启动时老是红字,碍眼!今天换了个版本,换了版本后怪事出现了,竟然报错:
Access restriction: The type XXXX is not accessible due to restriction on required library后面借鉴网友的借鉴办法:在Build Path里面把JRE System Library移除后重新添加进去,问题解决。
参考资料:http://blog.lifangeye.info/2011-03-27/access-restriction-the-type-is-not-accessible/