草庐IT

锡兰模块系统:Guava类不匹配,即使依赖项中只有一个guava

我正在定义一个用于JSimpledB(持久性库)的适配器班级这是GoogleGuavaConverter作为构造函数参数:sharedclassRoleConverter()extendsConverter(){sharedactualRoledoBackward(String?name){"Cannotconvertnulltorole."assert(existsname);returnRole.ofName(name);}sharedactualStringdoForward(Role?role){returnrole?.nameelse"null";}}sharedclassRoleT