a13668349935

GeoEvent maven  how to use external  jar file

Discussion created by a13668349935 on Jan 14, 2014
Latest reply on Jan 16, 2014 by a13668349935
hi ,i want to use geoEvent sdk to create my outbound class, in the receive function . i write some code .but i must use a external .jar file.  when i build the project ,i get a ****.jar file. i import it in the website(https://localhost:6143/geoevent/manager/components.html), then ,i restart it. i do not see my transport.  in the log file(wrapper.log) ,i see the message.
    ERROR: Bundle sample.gep.sample-transport [341] Error starting file:/C:/Program%20Files/ArcGIS/Server/GeoEventProcessor/deploy/sample-transport-10.2.1.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle sample.gep.sample-transport [341]: Unable to resolve 341.5: missing requirement [341.5] package; (package=org.apache.commons.httpclient))
  it means the geoevent can't find the external  jar file. how to do?
  some one says:put the external .jar file to the deploy folder ,  it not work.
  some one syas: modifythe pom.xml  .
  can some one show  me how to do?

Outcomes