spring
向往光明的人
这个作者很懒,什么都没留下…
展开
-
spring security中A granted authority textual representation is required
今天在学习spring security的使用时报错如下 An internal error occurred while trying to authenticate the user A granted authority textual representation is required使用角色来控制权限的时候不仅仅需要 for (TRole role:roleList) { authorities.add(new SimpleGrantedAutho原创 2020-06-10 13:44:19 · 9780 阅读 · 4 评论 -
spring学习日志
javax.servlet.ServletException: Servlet[springDispatcherServlet]的Servlet.init()引发异常org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:530)org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:122)org.apache.jasper.runtime.HttpJspBa原创 2020-06-01 21:33:30 · 170 阅读 · 0 评论 -
springmvc 的流程
原创 2020-05-31 15:34:28 · 103 阅读 · 0 评论 -
解决maven创建中的警告:No archetype found in remote catalog. Defaulting to internal catalog.问题
新建maven项目时出现警告:No archetype found in remote catalog. Defaulting to internal catalog.报错。解决方法:1. 下载archetype-catalog.xml 文件 2. 将archetype_catalog.xml文件放到本地仓库的根目录下3. 在idea中改变设置4.*注意:在这儿也要改变不要忘记!就可以创建maven项目了。...原创 2020-05-26 22:11:17 · 3672 阅读 · 1 评论 -
spring学习日志
Exception in thread "main" org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'com.spring.mod.Person' available: expected single matching bean but found 2: personOne,personTwo at org.springframework.beans.factory原创 2020-05-24 21:05:05 · 118 阅读 · 0 评论