我试图从我的“服务器”中的远程存储库构建一个 kiecontainer;
String url = "http://Server:8080/jbpm-console/maven2/pt/powergrid/UtilityOperationProcesses/1.0/UtilityOperationProcesses-1.0.jar";
ReleaseIdImpl releaseId = new ReleaseIdImpl("pt.powergrid", "UtilityOperationProcesses", "1.0");
KieServices ks = KieServices.Factory.get();
ks.getResources().newUrlResource(url);
KieContainer kieContainer = ks.newKieContainer(releaseId);
但我有这个例外:
Caused by: javax.ejb.EJBException: java.lang.IllegalArgumentException: number of transferred bytes cannot be negative
任何想法?