摘要:        
问题: SpringBoot应用,启动时报“Failed tostart component [StandardEngine[Tomcat]”等多个错误,嵌入TOMCAT不能启动。 解决: 搜索所子项目pom.xml文件,找到javax.servlet,添加或修改作用范围为required: <de    阅读全文
        
            posted @ 2018-01-23 15:08
hongweigg
阅读(16)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
问题: Springboot应用静态资源不能访问,例如html, css, js, jpg等文件不能访问。页面显示: Whitelabel Error Page This application has no explicit mapping for /error, so you are seein    阅读全文
        
            posted @ 2018-01-23 15:05
hongweigg
阅读(53)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
问题: SpringBoot JSP页面不解析 解决: 在pom.xml中,包tomcat-embed-jasper scope不能为required,应修改为provided。 <dependency> <groupId>org.apache.tomcat.embed</groupId> <art    阅读全文
        
            posted @ 2018-01-23 14:59
hongweigg
阅读(9)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
问题: 在一个类中使用注解@Autowired引用一个接口,报错误” NoSuchBeanDefinitionException: No qualifying bean of type”。 原因: 该接口对应的实现类没有任何注解,加上@Component或@Service注解后,该问题解决。    阅读全文
        
            posted @ 2018-01-23 14:57
hongweigg
阅读(180)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号