1.找不到mapper
Caused by: java.lang.IllegalArgumentException: Could not resolve resource location pattern [cn/wh3t/mapper/*.xml]: ServletContext resource [/cn/wh3t/mapper/] cannot be resolved to URL because it does not exist at org.springframework.core.io.support.ResourceArrayPropertyEditor.setAsText(ResourceArrayPropertyEditor.java:120) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:429) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:402) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155) at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:585) ... 77 more
解决:value中加入classpath,在接后面的路径
2.关于pojo、dto、vo和JavaBeans的区别
What is the difference between POJO (Plain Old Java Object) and DTO (Data Transfer Object)?
3.html页面中,iframe引入的页面会变得特别小
页面一切正常,height="100%",之后强行height="500px"调整了引入页面的高度,但是,看起来并不好,内容过多时,同样也会显示不全。
function iframeLoad()
{
document.getElementById("iframe").height=0;
document.getElementById("iframe").height=document.getElementById("iframe").contentWindow.document.body.scrollHeight;
}
---------------------
作者:不啦草
来源:CSDN
原文:https://blog.csdn.net/ye987987/article/details/51832066
版权声明:本文为博主原创文章,转载请附上博文链接!
复制代码