
bug问题
R.任小白
这个作者很懒,什么都没留下…
展开
-
eclipse中jsp页面图片不显示问题
问题记录:在给一个web项目里的jsp页面添加一个背景图片,使用background:url的方式获取图片路径,但是一直不显示,最后发现还是根本路径的问题。解决:使用java代码获取项目根路径,通过绝对路径方式引入图片在jsp文件的head里添加<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+原创 2021-05-27 16:36:49 · 4824 阅读 · 0 评论 -
使用eclipse遇到的中文问题记录
问题记录:在eclipse中的一个web项目中的搜索功能只能根据字母数字搜索出来,搜索中文时就不会显示。解决方案:修改tomcat配置文件在Servers文件夹中找到server.xml在其中找到 <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>将其改为 <Connector URIEncoding="UTF-8" connectionTimeo原创 2021-05-27 16:23:46 · 223 阅读 · 0 评论 -
bug: java.io.FileNotFoundException: class path resource [spring/applicationContext_*.xml]
解决方法:https://blog.youkuaiyun.com/hanxueyu666/article/details/72919406转载 2021-01-18 11:43:04 · 407 阅读 · 0 评论 -
bug解决: Cause: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 6; 不允许有匹配 “[xX][mM][lL]“ 的
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'adminServiceImpl': Unsatisfied dependency expressed through field 'adminMappe原创 2021-01-18 11:27:02 · 736 阅读 · 0 评论