开发过程中错误总结

1:18年5月28日

   Failed to load ApplicationContext     未能加载ApplicationContext。

说明是.xml文件的问题。去上.xml排查,看是不是注解。或者文件本身书写有误。

2:Linux下 WebStorm,PPT,WPS不能书写汉字。

在启动文件中修改:

例如:编辑:vim webstorm.sh

   启动:sudo sh webstorm.sh

export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE="fcitx"

 3:Could not resolve placeholder 'redis.maxIdle' in value "${redis.maxIdle}"  

配置了redis.properties.但是spring-dao.xml中没有加上,报了这个错误。

<context:property-placeholder location="classpath:jdbc.properties,classpath:resources.properties"/>

<context:property-placeholder location="classpath:jdbc.properties,classpath:resources.properties,classpath:redis.properties"/>
原文地址:https://www.cnblogs.com/bulrush/p/9104653.html