![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ssm
iambeliveble
这个作者很懒,什么都没留下…
展开
-
SpringMVC中使用bean来接收form表单提交的参数时的注意点
这是前辈们对于SpringMVC接收表单数据记录下来的总结经验: 下面是我自己在使用时发现的,前辈们没有记录的细节和注意点: 使用bean来接收form表单提交的参数时,pojo中必须含有默认的(即空的)构造函数,同时,需要设置到bean中的变量必须有setter方法。 注:以下代码均为示例代码,非本人实际运行代码,请自行补充。 例如:我有一个bean类是User,具有变量username...原创 2018-09-27 17:11:42 · 409 阅读 · 0 评论 -
Spring boot 打成jar包问题总结
Spring boot 打成jar包问题总结 1、Unable to find a single main class from the following candidates 1.1、问题描述 maven build时出现以下错误提示日志: 1 [ERROR] Failed to execute goal org.springframework.bo...转载 2018-10-25 11:55:11 · 290 阅读 · 0 评论