![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
null111666
努力奋斗的java工程师
展开
-
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
请求验证码时后台报错:java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment该问题的解决方法:在Tomcat/bin/catalina.sh 中的JAVA_OPTS选项后增加-Djava.awt.headless=true原创 2021-06-08 09:37:54 · 1710 阅读 · 0 评论 -
解决 There are no resources that can be added or removed from the server
网上下载了一个项目,在eclipse中部署时,加载项目到tomcat中项目名称无法显示,报出There are no resources that can be added or removed from the server这个是因为下载下来的项目没有eclipse的相关配置文件,eclipse不知道这是一个什么项目。解决方法:1、进入configure Build Path...转载 2019-11-05 11:14:04 · 523 阅读 · 0 评论