<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VAN: Installing a module with an additional JAR dependency in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/van-installing-a-module-with-an-additional-jar-dependency/m-p/6858843#M928</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on a VAN module which depends on the &lt;A href="http://square.github.io/okhttp/" target="_blank"&gt;OkHttp&lt;/A&gt; Java library. I have added the library as a dependency in the pom.xml file for my business logic project, and my project compiles just fine. However, when I try to deploy the application on VAN, I get the following error:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;Server Error – 500: Internal Server Error&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;URL: rs/apps/com.netlab.webhooks/install&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;View ID: apps&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;Type: error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The only thing I can think is that VAN (running on an Ubuntu machine) does not have the OkHttp library installed. What is the best course of action here? Should I try to package the library with my project or install OkHttp on the Ubuntu machine? Regardless, how do I go about this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2016 13:37:23 GMT</pubDate>
    <dc:creator>phpHavok</dc:creator>
    <dc:date>2016-05-12T13:37:23Z</dc:date>
    <item>
      <title>VAN: Installing a module with an additional JAR dependency</title>
      <link>https://community.hpe.com/t5/software-defined-networking/van-installing-a-module-with-an-additional-jar-dependency/m-p/6858843#M928</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on a VAN module which depends on the &lt;A href="http://square.github.io/okhttp/" target="_blank"&gt;OkHttp&lt;/A&gt; Java library. I have added the library as a dependency in the pom.xml file for my business logic project, and my project compiles just fine. However, when I try to deploy the application on VAN, I get the following error:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;Server Error – 500: Internal Server Error&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;URL: rs/apps/com.netlab.webhooks/install&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;View ID: apps&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#800000" face="courier new,courier"&gt;Type: error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The only thing I can think is that VAN (running on an Ubuntu machine) does not have the OkHttp library installed. What is the best course of action here? Should I try to package the library with my project or install OkHttp on the Ubuntu machine? Regardless, how do I go about this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 13:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/van-installing-a-module-with-an-additional-jar-dependency/m-p/6858843#M928</guid>
      <dc:creator>phpHavok</dc:creator>
      <dc:date>2016-05-12T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: VAN: Installing a module with an additional JAR dependency</title>
      <link>https://community.hpe.com/t5/software-defined-networking/van-installing-a-module-with-an-additional-jar-dependency/m-p/6858967#M929</link>
      <description>&lt;P&gt;I think I have solved this problem myself.&lt;/P&gt;&lt;P&gt;Through the Virgo server log (/opt/sdn/virgo/serviceability/logs/virgo-server/log.log), I found errors upon attemping to deploy my module which indicated an unsatisfied "&amp;lt;Import-Package&amp;gt;". In my pom.xml file, I added the maven-bundle-plugin which exported the package that Virgo was complaining about (it required me to add that package as a dependency to my project). After recompiling and reinstalling, Virgo was complaining about a different package. I repeated this process of exporting packages until every import was satisfied.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 18:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/van-installing-a-module-with-an-additional-jar-dependency/m-p/6858967#M929</guid>
      <dc:creator>phpHavok</dc:creator>
      <dc:date>2016-05-12T18:54:37Z</dc:date>
    </item>
  </channel>
</rss>

