
java报错总结
江湖行骗老中医
相信自己!
展开
-
出现The import javax.servlet cannot be resolved 的解决方法
在Eclipse 中编写servlet时出现:The import javax.servlet cannot be resolved 错误,如下图解决方法就是:在Eclipse中,右击项目,选择Build Path->configure build path->Libraries->Add External JARs,找到你计算机中tomcat的解压路径,在lib文件夹下...原创 2019-12-04 14:59:54 · 354 阅读 · 0 评论 -
引用外部:web-app_2_4.xsd 添加eclipse 配置文件提示
web-app_2_4.xsd下载链接:https://pan.baidu.com/s/1knAK7hWns110rFQPToLE9w提取码:fjht原创 2019-12-04 14:57:57 · 211 阅读 · 0 评论 -
springboot2.0版本后配置拦截器会导致静态资源被拦截
最近使用springboot2.0拦截器:查看网上别人是这么设置的:@Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new LoginInterceptor()).addPathPatterns("/**") .excludePathPatte...原创 2019-12-04 14:56:54 · 219 阅读 · 0 评论 -
spring xml约束标签报错
Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'. - schema_reference.4: ...原创 2019-12-04 08:54:06 · 240 阅读 · 0 评论 -
Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.[ERROR] [2019-04-21 23:38:36][org.springframework.boot.SpringApplication - 858]Applica...原创 2019-12-04 08:52:13 · 696 阅读 · 0 评论