摘要:
请求验证码时后台报错:java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 该问题的解决方法:在Tomcat/bin/catalina.sh 中的JAVA_OPTS选项后增加 阅读全文
摘要:
几个快速添加list的方法 1. 使用Collections.addAll()方法,前提还是需要手动 new ArrayList ArrayList<String> s = new ArrayList(); Collections.addAll(s,"1","2","3") 2. 使用Arrays. 阅读全文