bug集

1.使用redis时,服务器启动后报错,

redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Software caused connection abort: socket write error

问题:端口报错

解决方案:查看有关redis端口

结果:redis端口书写错误。

2.redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

Caused by: java.util.NoSuchElementException: Unable to validate object

问题:Redis池不能使用,不能从redis获取所需要的资源

解决方案:查看redis服务器是否工作正常

结果:因为redis服务器没有正常启动。

3.问题:所有的javax包文件报错,所有的jsp文件的第一行标签头部报错,出现小红叉号。

原因:由于tomcat环境的不同,重新对报错的项目进行buildpath,选择现在应用的tomcat环境。

4.org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemCatController': Injection of autowired dependencies failed;

 Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jt.manage.service.ItemCatService

5. Could not resolve placeholder 'redis.sentinel.masterName' in string value "${redis.sentinel.masterName}"

工具类文件修改后没有打包

6. 程序包com.sun.org.apache.xml.internal.resolver.helpers不存在

对某些类改变后项目,Class文件没有改变。重新编译,再运行

7. Successfully completed request

[http-bio-8091-exec-1][org.springframework.beans.factory.support.DefaultListableBeanFactory]-[DEBUG] Returning cached instance of singleton bean 'sqlSessionFactory'

Nginx没有开启

8. 严重: Servlet.service() for servlet jsp threw exception

javax.el.PropertyNotFoundException: Property 'title' not found on type java.lang.String

$获取对象在“”内不能有空格

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值