zoukankan      html  css  js  c++  java
  • 2017-3-24

    哦,懂了! 

    1.看看war包被部署到tomcat哪个文件夹下! 这样你不就可以知道图片的上传路径了吗?

    遇到的bug:  

    1.rg.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'domain' in 'class sunwin.zhangdong.domain.Memo'

    哦,原来是mybatis的注解搞的鬼: @Param("domain")。 这个哦!

    2. Initializing Spring root WebApplicationContext 卡住了,项目无法启动哦!

    No Spring WebApplicationInitializer types detected on classpath

    答:解决方法,删除mapper文件和dao层的接口文件哦! 删除那个mapper文件哦,应该是启动的时候加载出错了。

    然后报IO空指针异常,把那个配置文件copy过来哦! 就可以了,虽然是空的!

    解决问题的方法:回退,合理的猜——》验证!

    3.Error:(4, 29) java: 程序包sunwin.zhangdong.comm不存在

    答:gradle刷新哦! 重新编译项目即可哦!

  • 相关阅读:
    第9天 图片整合
    第六天 元素类型
    第五天 文本溢出
    第四天 盒子模型
    第三天 css核心属性
    第二天 css基础 ,部分选择符
    第一天 HTML基础
    *Move Zeroes
    Word Pattern
    ReentrantLock
  • 原文地址:https://www.cnblogs.com/njqa/p/6612074.html
Copyright © 2011-2022 走看看