AnsweredAssumed Answered

HCI: Does HCI include apache-entity?

Question asked by Chris Delezenski Employee on Jul 27, 2017
Latest reply on Jul 28, 2017 by Chris Delezenski



I've added my pom.xml.


In order to notice which apache jars I'm missing, I had to comment out the plugin harness and attempt to package it (mvn package)


Ignoring the HCI-stage specific errors, it became apparent what was needed.


It took a bit of searching (there are several variations on HTTPClient's pom.. most of which are outdated)


But I found this site to be helpful (for those new to Maven like myself):



Maven Repository: org.apache.httpcomponents » httpclient » 4.3.6


Now my bundle will upload and validate.


I'm trying to test on a local file system and running into another problem... new problem new question.  Fortunately, I think this one was already asked and answered in the community.



Hi Community...


Still working on the OCR effort for Hornet.


Thanks to all the help so far, I've completed the jar with a successful test in the harness.


I've uploaded the jar (with dependencies) and HCI throws the following error:


"Failed to upload a plugin bundle java.lang.NoClassDefFoundError: org/apache/http/HttpEntity"


So clearly I need to include the jar for apache::HttpEntity, perhaps in the pom.xml.... I'm just wondering why the harness gave me the green light, but HCI is throwing this error.   Should the plugin jar be included in the jar-with dependencies?  I was under the impression that wasn't so, per documentation.


Attached is the completed jar.


On the bright side... the configuration file works correctly, and I can generate a valid pdf -- proving the point.  Now we just need HCI to play ball.



Thanks in advance....