错误收集
小飞侠-2
我的github地址https://github.com/liujiekasini 欢迎大家分享讨论
展开
-
@Service路径找不到
问题描述:html ajax post请求找不到controller中路径的问题? 问题解决:@Service 有俩个引入包 我们通常用import org.springframework.stereotype.Service;包,如果是import org.jvnet.hk2.annotations.Service;可能跟其他spring不一致引起的问题原创 2017-04-07 16:49:41 · 1458 阅读 · 0 评论 -
Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)
Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans' 2008-09-07 22:41 今天把在线聊天室代码改了下, 想启动应用测试. 结果抛出一大堆异常: -----------------------------------------------------------------转载 2017-04-28 08:50:15 · 1153 阅读 · 0 评论 -
Spring10种常见异常解决方法
在程序员生涯当中,提到最多的应该就是SSH三大框架了。作为第一大框架的Spring框架,我们经常使用。 然而在使用过程中,遇到过很多的常见异常,我在这里总结一下,大家共勉。 一、找不到配置文件的异常 [plain] view plaincopy org.springframework.beans.factory.BeanDefinitio转载 2017-04-28 09:16:57 · 980 阅读 · 0 评论 -
missing artifact jdk.tools:jar:1.7
pom.xml一直提示“missing artifact jdk.tools:jar:1.7”但pom.xml文件里没有相关jdk.tools的依赖配置 主要原因: eclipse用来启动的JRE不是我们在开发时候配置的JRE,而Maven去找jdk的tools.jar时,是去eclipse的启动jre下边找,运气不好的就找不到了。所以需要我们把eclipse运行所依赖转载 2017-05-02 10:23:36 · 2647 阅读 · 0 评论 -
spring xsd 文件找不到问题
由于项目比较多,spring版本也多,导致项目出现loading spring xsd的情况,网上找了半天,最终解决,这里用作备份。 解决方案: pom中指定 org.apache.maven.plugins maven-shade-plugin 2.4.3 package shade原创 2017-04-25 09:07:46 · 2295 阅读 · 0 评论 -
Servlet.init() for servlet mvc-dispatcher threw exception
javax.validation validation-api 2.0.0.Alpha1原创 2017-04-25 09:27:29 · 2231 阅读 · 0 评论