Spring
CronousGT
没有什么理想,没有什么目的,也不知道自己需要什么,一步一步走吧 -_-!
展开
-
通配符的匹配很全面, 但无法找到元素 'tx:annotation-driver' 的声明
主要原因是因为xsd定义文件引用地址问题这里出错主要在这个xsd文件:xmlns:tx="http://www.springframework.org/schema/tx" 加入即可. 下面提供一个比较全的xsd文件引用声明<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="...转载 2018-03-17 21:51:43 · 1425 阅读 · 0 评论 -
Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext
学习springMVC的时候使用maven进行项目依赖管理,tomcat启动报如下错误:[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ springmvc ---[INFO] Running war on http://localhost:8080/springmvc[INFO] Using existing Tomcat s...原创 2018-03-20 21:22:32 · 1396 阅读 · 0 评论 -
servlet [jsp] in context with path [/springmvc] threw exception [java.lang.NullPointerException]
整合springMVC遇到的错误,采用的是maven来构建项目。 错误原因和我这篇文章http://blog.csdn.net/CronousGT/article/details/79632070相同都是与tomcat中的包有了冲突,报错如下:严重: Servlet.service() for servlet [jsp] in context with path [/springmvc]...原创 2018-03-20 22:05:22 · 3349 阅读 · 0 评论