spring mvc
pengli_123
这个作者很懒,什么都没留下…
展开
-
发邮件
新建邮件配置:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http:原创 2018-06-03 15:29:22 · 418 阅读 · 0 评论 -
在spring mvc项目中新建index.html页面被拦截 无法访问
在webapp下新建一个index.html,但是输入http://localhost:8080/index.html报404错误,无法访问,而新建项目时自动生成的index.jsp可以访问。控制台报错信息如下: 警告 [http-nio-8080-exec-61] org.springframework.web.servlet.PageNotFound.noHandlerFound No map...原创 2018-05-29 10:26:24 · 5572 阅读 · 1 评论 -
新建接口报错Error message: This template did not produce a Java class or an interface
在IDE中新建接口时无法新建,报错说template不能生成一个class或者一个接口,解决办法:是因为对应的模板为空,打开File->Settings->Editor->File and Code Templates->Interface红色区域为空,将一下内容复制上去就可以了:#if (${PACKAGE_NAME} && ${PACKAGE_NAME}...原创 2018-06-01 10:20:53 · 8371 阅读 · 4 评论 -
Error creating bean with name 'callSystemController': Unsatisfied dependency expressed through field
报错如下:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'callSystemController': Unsatisfied dependency expressed through field 'callSystemService'; neste...原创 2018-06-28 10:39:38 · 3776 阅读 · 0 评论