<?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 Re: Unable to build AMP through Maven. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119408#M32876</link>
    <description>&lt;P&gt;You need to "upgrade" your java version to 11. try openJDK 11. then recompile with maven&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 12:57:02 GMT</pubDate>
    <dc:creator>abbask01</dc:creator>
    <dc:date>2020-12-04T12:57:02Z</dc:date>
    <item>
      <title>Unable to build AMP through Maven.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119407#M32875</link>
      <description>&lt;P&gt;&amp;nbsp;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to build an amp through maven but the problem is Im getting the below error. Did some research, found that I&amp;nbsp;have to downgrade my java's jdk version from 8 to 6. Now the problem is Debian (linux) doesn't support jdk 1.6 or lower than it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know any alternative solution for this problem.&lt;/P&gt;&lt;PRE&gt;[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project userreports-platform: Compilation failure
[ERROR] /home/junaid/userreports/userreports-platform/src/main/java/com/virtuosoft/userreports/platformsample/DemoComponent.java:[22,43] cannot access org.alfresco.service.cmr.repository.NodeRef
[ERROR]   bad class file: /home/junaid/.m2/repository/org/alfresco/alfresco-data-model/8.50.1/alfresco-data-model-8.50.1.jar(org/alfresco/service/cmr/repository/NodeRef.class)
[ERROR]     class file has wrong version 55.0, should be 52.0
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syed Junaid&amp;nbsp;Hussain.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 11:55:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119407#M32875</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-12-04T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to build AMP through Maven.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119408#M32876</link>
      <description>&lt;P&gt;You need to "upgrade" your java version to 11. try openJDK 11. then recompile with maven&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 12:57:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119408#M32876</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-12-04T12:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to build AMP through Maven.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119409#M32877</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16524"&gt;@abbask01&lt;/A&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, I just removed jdk 8 and installed jdk 11 and then the project was built succesfully and my amp was created. Thanks again ! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 11:23:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119409#M32877</guid>
      <dc:creator>Syedjunaid</dc:creator>
      <dc:date>2020-12-07T11:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to build AMP through Maven.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119410#M32878</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76245"&gt;@Syedjunaid&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great that your issue is solved &amp;amp; thanks for accepting the solution &amp;amp; reporting back.&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 17:53:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-build-amp-through-maven/m-p/119410#M32878</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-12-07T17:53:05Z</dc:date>
    </item>
  </channel>
</rss>

