最近需要实现一个使用Spring schedule按一定时间间隔自动触发条件发送邮件的功能,在开发的过程中,是按照先测试能发出text/html文本邮件,然后测试添加附件发送邮件,我碰到的问题是,文本邮件能正常发送出来,但是添加附件的邮件却发不出来,这个问题困扰了我很久,所以有必要记录下. 问题点: 报错内容:"javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed&qu…
MyEclipse Server view报错解决方法 方法/步骤 启动MyEclipse,弹出一个框,报错. -------------------------------------------------------------------------------- Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'SeNT-DL'. java.lang.…
数据库字段gender为枚举类型,从前台接受到实体后进行保存报错:org.postgresql.util.PSQLException: ERROR: column "gender" is of type gender but expression is of type character varying ========================== 本篇文章从解决这个报错入手,附带 1.@TypeDef/@Enumerated/@Type的使用!!!!! ===========…
redis使用连接池报错解决redis使用十几小时就一直报异常 redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:22) at com.derbysoft.jredis.longkeytest.BorrowObject.run(BorrowObject.jav…