<?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 Problem when generating skeleton for version 2.3.5 in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6604786#M421</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I've just upgraded from version 2.0 to version 2.3.5.&lt;BR /&gt;I notice it is NOW no more possible to DEPLOY application I created in my previous version, because library changed :(&lt;BR /&gt;&lt;BR /&gt;For testing the version 2.3.5 I then reinstalled the new SDK (2.3.5) with the folwing command line:&lt;BR /&gt;&lt;BR /&gt;./install-sdk&lt;BR /&gt;&lt;BR /&gt;Then, I tried to generate a new skeleton.&lt;BR /&gt;However I obtained the following ERROR:&lt;BR /&gt;&lt;BR /&gt;ci-17-119:bin admin$ ./gen-sdn-app /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/dhcpsdnapp dhcpsdn unil DhcpSdn "DHCP SDN BUNDLE" "unil-ci" "gestion DHCP" dhcpsdn&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;Unsupported option /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/dhcpsdnapp!&lt;BR /&gt;/tmp/sdn-app already exists!\n&lt;BR /&gt;./gen-sdn-app: line 54: [: -v: unary operator expected&lt;BR /&gt;Creating module /tmp/sdn-app/opo-bl...&lt;BR /&gt;Exception in thread "main" java.lang.UnsupportedClassVersionError: com/hp/util/pgen/ProjectGenerator : Unsupported major.minor version 51.0&lt;BR /&gt;at java.lang.ClassLoader.defineClass1(Native Method)&lt;BR /&gt;at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)&lt;BR /&gt;at java.lang.ClassLoader.defineClass(ClassLoader.java:621)&lt;BR /&gt;at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)&lt;BR /&gt;at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)&lt;BR /&gt;at java.net.URLClassLoader.access$000(URLClassLoader.java:58)&lt;BR /&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:197)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;BR /&gt;&lt;BR /&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2014 09:08:56 GMT</pubDate>
    <dc:creator>sbotkine</dc:creator>
    <dc:date>2014-09-08T09:08:56Z</dc:date>
    <item>
      <title>Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6604786#M421</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I've just upgraded from version 2.0 to version 2.3.5.&lt;BR /&gt;I notice it is NOW no more possible to DEPLOY application I created in my previous version, because library changed :(&lt;BR /&gt;&lt;BR /&gt;For testing the version 2.3.5 I then reinstalled the new SDK (2.3.5) with the folwing command line:&lt;BR /&gt;&lt;BR /&gt;./install-sdk&lt;BR /&gt;&lt;BR /&gt;Then, I tried to generate a new skeleton.&lt;BR /&gt;However I obtained the following ERROR:&lt;BR /&gt;&lt;BR /&gt;ci-17-119:bin admin$ ./gen-sdn-app /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/dhcpsdnapp dhcpsdn unil DhcpSdn "DHCP SDN BUNDLE" "unil-ci" "gestion DHCP" dhcpsdn&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;Unsupported option /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/dhcpsdnapp!&lt;BR /&gt;/tmp/sdn-app already exists!\n&lt;BR /&gt;./gen-sdn-app: line 54: [: -v: unary operator expected&lt;BR /&gt;Creating module /tmp/sdn-app/opo-bl...&lt;BR /&gt;Exception in thread "main" java.lang.UnsupportedClassVersionError: com/hp/util/pgen/ProjectGenerator : Unsupported major.minor version 51.0&lt;BR /&gt;at java.lang.ClassLoader.defineClass1(Native Method)&lt;BR /&gt;at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)&lt;BR /&gt;at java.lang.ClassLoader.defineClass(ClassLoader.java:621)&lt;BR /&gt;at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)&lt;BR /&gt;at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)&lt;BR /&gt;at java.net.URLClassLoader.access$000(URLClassLoader.java:58)&lt;BR /&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:197)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;BR /&gt;&lt;BR /&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 09:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6604786#M421</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-09-08T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6605006#M426</link>
      <description>&lt;P&gt;The newer version of the tool requires that you name the parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below from the programming guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bin/gen-sdn-app --directory /dev/sdm-apps/health-monitor --template skeleton \ --app hm --company hp --subject Switch --app-name “Device Health Monitor” \ --company-name “Hewlett Packard” --description “Application for monitoring \ health of network devices.” --rest-path switches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 12:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6605006#M426</guid>
      <dc:creator>--jd--</dc:creator>
      <dc:date>2014-09-08T12:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6606698#M429</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even by naming parameters, I have the same kind of error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ci-17-232:bin admin$ ./gen-sdn-app --directory "/Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor" --template skeleton --app hm --company hp --subject Switch --app-name "Device Health Monitor" --company-name "Hewlett Packard" --description "Application for monitoring health of network devices." --rest-path switches&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;Unsupported option /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor!&lt;BR /&gt;./gen-sdn-app: line 54: [: -v: unary operator expected&lt;BR /&gt;Creating module /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl...&lt;BR /&gt;Exception in thread "main" java.lang.UnsupportedClassVersionError: com/hp/util/pgen/ProjectGenerator : Unsupported major.minor version 51.0&lt;BR /&gt;at java.lang.ClassLoader.defineClass1(Native Method)&lt;BR /&gt;at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)&lt;BR /&gt;at java.lang.ClassLoader.defineClass(ClassLoader.java:621)&lt;BR /&gt;at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)&lt;BR /&gt;at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)&lt;BR /&gt;at java.net.URLClassLoader.access$000(URLClassLoader.java:58)&lt;BR /&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:197)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;BR /&gt;ci-17-232:bin admin$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, there is still some problem with options but also with class library "&lt;SPAN&gt;com/hp/util/pgen/ProjectGenerator"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An other idea ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Serge&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2014 06:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6606698#M429</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-09-09T06:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6610142#M443</link>
      <description>&lt;P&gt;Hello Serge,&lt;BR /&gt;&lt;BR /&gt;The error “ Unsupported major.minor version 51.0”&amp;nbsp; is because the “jar” is compiled with&amp;nbsp; some version of java (e.g. JDK 1.7), and&amp;nbsp; you might be trying to run in some other java version(e.g. JDK 1.6 environment).&lt;BR /&gt;&lt;BR /&gt;You can check the java version by following command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -version&lt;/P&gt;&lt;P&gt;This might show 1.6 version&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To solve the problem please follow these steps&lt;BR /&gt;&amp;nbsp;1) sudo update-alternatives --config java &amp;nbsp;&lt;BR /&gt;Please select the no here which corresponds to java-7-openjdk-amd64&lt;BR /&gt;2) check java version now&lt;BR /&gt;java –version&lt;BR /&gt;it should show version 1.7&lt;BR /&gt;&lt;BR /&gt;In case you don’t see java-7-openjdk-amd64&amp;nbsp; in step 1 ,then you have to first install the same by running the command as below&lt;BR /&gt;sudo apt-get install openjdk-7-jdk openjdk-7-jre&lt;BR /&gt;&lt;BR /&gt;and then again repeat steps 1 &amp;amp; 2 as mentioned above.&lt;BR /&gt;&lt;BR /&gt;Please let us know if this helps.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;HP SDN Team&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6610142#M443</guid>
      <dc:creator>sdnindia</dc:creator>
      <dc:date>2014-09-11T10:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6610238#M444</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a little better but not perfect yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First my SDK version was effectively the 1.6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed the 1.7:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java -version&lt;BR /&gt;&amp;nbsp; &amp;nbsp; java version "1.7.0_67"&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Java(TM) SE Runtime Environment (build 1.7.0_67-b01)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to recreate the skeleton:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./gen-sdn-app --directory "/Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor" --template skeleton --app hm --company hp --subject Switch --app-name "Device Health Monitor" --company-name "Hewlett Packard" --description "Application for monitoring health of network devices." --rest-path switches&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;./gen-sdn-app: line 22: [: -v: unary operator expected&lt;BR /&gt;Unsupported option /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor!&lt;BR /&gt;./gen-sdn-app: line 54: [: -v: unary operator expected&lt;BR /&gt;Creating module /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl...&lt;BR /&gt;Created /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl/opo.descriptor&lt;BR /&gt;Created /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl/pom.xml&lt;BR /&gt;Created /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl/src/main/java/com/hp/opo/&lt;BR /&gt;Created /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl/src/main/java/com/hp/opo/OnePingOnly.java&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is better than before but &amp;nbsp;the only directory that was created was:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;/Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps_2.3.5/health-monitor/opo-bl/ &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as you can see on the log above. This &amp;nbsp;strange strucutre contains&amp;nbsp;&lt;/SPAN&gt;different folder&amp;nbsp;&amp;nbsp;and a java file called : OnePingOnly.java.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the previous version (=HP SDN controler 2.0) I obtained a structure that contained different folder like: hm, &amp;nbsp;hm-api, hm-app, hm-bl, hm-root, ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it different ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did my "&lt;SPAN&gt;gen-sdn-app" works correctly ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:39:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6610238#M444</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-09-11T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when generating skeleton for version 2.3.5</title>
      <link>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6616688#M451</link>
      <description>&lt;P&gt;After modifiying your script, it works...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 09:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/problem-when-generating-skeleton-for-version-2-3-5/m-p/6616688#M451</guid>
      <dc:creator>sbotkine</dc:creator>
      <dc:date>2014-09-15T09:30:21Z</dc:date>
    </item>
  </channel>
</rss>

