博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
BoneCP 升级遇到的问题
阅读量:7203 次
发布时间:2019-06-29

本文共 1526 字,大约阅读时间需要 5 分钟。

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.jolbox.bonecp.BoneCPDataSource]: Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.jolbox.bonecp.BoneCPDataSource

at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
... 60 more
Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.jolbox.bonecp.BoneCPDataSource
at com.jolbox.bonecp.BoneCPDataSource.(BoneCPDataSource.java:64)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
... 62 more

BoneCP 从0.80 升级到 0.90 遇到的

guave 也需要相应的升级啊!

转载地址:http://sgwum.baihongyu.com/

你可能感兴趣的文章
开发Yii2过滤器并通过behaviors()行为调用
查看>>
白话SpringCloud | 第零章:前言
查看>>
XMind中的“任务信息”视图
查看>>
OSChina 双十一乱弹 ——来自单身狗的哀鸣
查看>>
OSChina 周三乱弹 ——我们职业更好的名字:爱码士
查看>>
左边的项目管理器不见了
查看>>
android 获取唯一标识
查看>>
HTML5 - Server-Sent Events
查看>>
为MySQL授权
查看>>
用 Octave 对音频文件进行基本数学的信号处理
查看>>
看视频是好的学习方法
查看>>
Get last order or items of customer in magento
查看>>
centos7安装redis3.2.1
查看>>
聚合数据Android SDK 天气查询演示示例
查看>>
java冒泡排序法
查看>>
tomcat启停脚本高级版
查看>>
【Microsoft Edge中新的F12开发者工具】
查看>>
java基础第五天
查看>>
提取Fiddler抓包软件的抓到的数据
查看>>
Vsftpd 安全
查看>>