8000 GitHub - light499960904/SpringMVCStudy
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

light499960904/SpringMVCStudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

这是一个SpringMVC的学习过程

只有不断进步才能避免被时代的洪流所淘汰。

2019年6月1日

1、完成Maven配置,Git存储库配置
2、完成logback.xml文件配置

2019年6月2日

1、完成HelloSpringMVC
遇到的坑:
a.完成后需要在设置中的项目结构中设置Artifacts作为项目输出文件配置到tomcat中
b.JsonToXml转换时需要构造无参函数

2019年6月3日

1、解决昨天无法访问的坑
原因:缺少包扫描配置
在MVCConfig配置中原来是@ComponentScan("SpringMVC") 更改为 @ComponentScan({"SpringMVC","JsonToXml"})
2、解决运行时没有debug信息
原因:缺少log4j的配置文件
配置文件详情:log4j.propertiess

# Global logging configuration 开发时候建议使用 debug
log4j.rootLogger=DEBUG, stdout
# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n

2019年6月4日

1、今日完成post拦截器。计算访问时间。。。。。。。。。。。but访问时间是0ms,,,你是认真的嘛。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0