java.lang.IncompatibleClassChangeError: com/google/common/collect/TreeRangeMap

Я получаю доступ к рабочему столу kie, используя сервер kie, из моего Java-приложения.

    KieServicesConfiguration  conf = KieServicesFactory.newRestConfiguration("http://localhost:8080/kie-server-6.5.0.Final-ee7/services/rest/server", "admin", "admin");
    conf.setMarshallingFormat(MarshallingFormat.JSON);
    conf.setTimeout(10000L);
    KieServicesClient  kieServicesClient = KieServicesFactory.newKieServicesClient(conf);
    RuleServicesClient rulesClient = kieServicesClient.getServicesClient(RuleServicesClient.class);
    KieCommands commandsFactory = KieServices.Factory.get().getCommands();

    List<Command<?>> commands = new LinkedList<>();
    commands.add(commandsFactory.newInsert(facts));
    commands.add(commandsFactory.newFireAllRules());
    ServiceResponse<ExecutionResults> executeResponse = rulesClient.executeCommandsWithResults("containerID",
            commandsFactory.newBatchExecution(commands, "containerID"));

я получаю

Caused by: java.lang.IncompatibleClassChangeError: com/google/common/collect/TreeRangeMap


Caused by: org.kie.server.client.KieServicesException: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server-6.5.0.Final-ee7/services/rest/server/containers/instances/containerID'! Error code: 500, message: <html><head><title>ERROR</title><style>

Я использую kie workbench 6.5.0, kie server 6.5.0, wildfly-10 для kie workbench и wildfly 11 для приложений kiesever и java.

Пожалуйста, помогите мне исправить это.

0 ответов

Другие вопросы по тегам