
SringMVC
Jiang。
这个作者很懒,什么都没留下…
展开
-
java.lang.ClassNotFoundException: org.springframework.core.metrics.ApplicationStartup
Caused by: java.lang.ClassNotFoundException: org.springframework.core.metrics.ApplicationStartup Caused by: java.lang.NoClassDefFoundError: org/springframework/core/metrics/ApplicationStartup 我的原因是spring整合 里面的版本没有统一起来 版本 统一就好了 ...原创 2022-03-13 17:04:06 · 6629 阅读 · 0 评论 -
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project springmvc_ssm: Could not start Tomcat原创 2022-03-12 08:45:43 · 1310 阅读 · 1 评论 -
注解开发 springmvc-servlet.xml 文件
<!--自动扫描包,让指定包下的注解生效,有IOC容器统一管理--> <context:component-scan base-package="com.jiang.controller"/> <mvc:annotation-driven/> <mvc:default-servlet-handler/> <!-- 视图解析器--> <bean class="org.springframework.we原创 2022-03-08 10:55:18 · 177 阅读 · 0 评论 -
Maven pom过滤资源
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <..原创 2022-03-08 10:38:03 · 403 阅读 · 0 评论