- 博客(6)
- 收藏
- 关注
原创 Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
项目场景:org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in com/itheima/mapper/UserMapper.xml### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java
2021-10-18 22:13:19 4894
原创 javaweb中文乱码
问题描述:javaweb解决中文乱码问题解决方案:public class RegisterServlet extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //以下三行代码解决中文乱码问题 request.setCharacterE
2021-10-17 14:52:06 114
原创 HTTP Status 404 – Not Found Type Status Report Description The origin server did not find a current
项目场景:@Controllerpublic class TargetController { @RequestMapping("/target") public ModelAndView show(){ System.out.println("目标资源执行......"); ModelAndView modelAndView = new ModelAndView(); modelAndView.addObject("name","it
2021-09-12 15:26:50 5891 3
原创 ssm项目Tomact加载不出图片 访问静态资源
项目场景:解决方案:1、在web.xml中加入下面这段代码<servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>*.js</url-pattern> <url-pattern>*.css</url-pattern> <url-pattern>/assets/*"</url-pattern
2021-08-24 16:44:19 408
原创 SpringMVC文件上传报错
项目场景:<bean id="MultipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="defaultEncoding" value="UTF-8"/> <property name="maxUploadSize" value="500000"/> </bean&
2021-08-18 23:35:58 447
原创 Tomcat报错 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployi
项目场景:不知道为什么启动Tomcat的时候总是报这个错,查了好多博客还是没能解决,但是把url地址复制到谷歌浏览器又是正常的,小白不懂先记录一下问题描述:[2021-08-12 02:49:43,866] Artifact itheima_spring_mvc1:war exploded: Artifact is being deployed, please wait…[2021-08-12 02:49:43,886] Artifact itheima_spring_mvc1:war explod
2021-08-12 16:42:17 2705
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人