<?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: Alfresco SDK 4.0 build issue on Open JDK 11 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137602#M36904</link>
    <description>&lt;P&gt;Hello &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/51429"&gt;@nikhilesh_s1vak&lt;/A&gt; ,&lt;BR /&gt;&lt;BR /&gt;I think you might have been fooled by your IDE,&lt;BR /&gt;as described here: &lt;A href="https://stackoverflow.com/a/55572922/1654265" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/a/55572922/1654265&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;running it from the CLI&lt;/LI&gt;&lt;LI&gt;then fixing Eclipse with the ModulePath/ClassPath workarounds described in the answer above&lt;/LI&gt;&lt;LI&gt;eventually, running it from another IDE like IntelliJ CE, probably more JPMS-friendly&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 11:47:23 GMT</pubDate>
    <dc:creator>andrealigios</dc:creator>
    <dc:date>2021-01-27T11:47:23Z</dc:date>
    <item>
      <title>Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137599#M36901</link>
      <description>&lt;P&gt;I have been trying to set up the development environment in Alfresco SDK 4.0 with Open JDK 11. I have downloaded the all in one project as mentioned in the documentation and even referred jeff pott's material (&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html#alfresco-maven-sdk" target="_blank" rel="noopener nofollow noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html#alfresco-maven-sdk&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;I have applied enterprise license and able to start and test the application. But when i put my customized code in the project structure i faced lot of compilation issues which i have fixed eventaully. But there are few stubborn issues which are related Java modules are giving me a tough time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below issues are failing the build.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;The package com.xxxx.xxxx.entities is accessible from more than one module: &amp;lt;unnamed&amp;gt;, xxxx.alfresco &lt;FONT color="#FF0000"&gt;( In imports declaration)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;The package com.com.xxxx.xxxx.entities conflicts with a package accessible from another &lt;FONT color="#000000"&gt;module:&lt;/FONT&gt; xxxx.alfresco &lt;FONT color="#FF0000"&gt;(In Package declration)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have understood that this issue is related to JDK modules and fixed it by excluding the unnecessary jar in the pom.xm (for 3rd party jars such as xml and w3c). &lt;/FONT&gt;&lt;FONT color="#000000"&gt;But the above problems arises when i try to build my customized code.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Below is my development environment i have used:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Alfresco/SDK Version: 6.2 Enterprise/ SDK 4.0&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Eclipse Version : 4.18&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Java Version : Open JDK 11.0.1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Maven Version : Apache Maven 3.6.3&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 27 Jan 2021 07:23:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137599#M36901</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-01-27T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137600#M36902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/51429"&gt;@nikhilesh_s1vak&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I just check which version of Alfresco you are using - is it 6.0 (as tagged) or 6.2 (as mentioned in your dev environment description)?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 10:50:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137600#M36902</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-01-27T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137601#M36903</link>
      <description>&lt;P&gt;Thanks EddieMay for the response. It is 6.2 enterprise.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 10:57:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137601#M36903</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-01-27T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137602#M36904</link>
      <description>&lt;P&gt;Hello &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/51429"&gt;@nikhilesh_s1vak&lt;/A&gt; ,&lt;BR /&gt;&lt;BR /&gt;I think you might have been fooled by your IDE,&lt;BR /&gt;as described here: &lt;A href="https://stackoverflow.com/a/55572922/1654265" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/a/55572922/1654265&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;running it from the CLI&lt;/LI&gt;&lt;LI&gt;then fixing Eclipse with the ModulePath/ClassPath workarounds described in the answer above&lt;/LI&gt;&lt;LI&gt;eventually, running it from another IDE like IntelliJ CE, probably more JPMS-friendly&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 11:47:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137602#M36904</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-01-27T11:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137603#M36905</link>
      <description>&lt;P&gt;Hello &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;, Thanks for the response. I have referred the above link and tried to run it from CLI also but the build fails throwing the compilation errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I resolved the similar issue with 3rd party Jars (example: xml api) but this happens with&amp;nbsp; alfresco.reposiotry and alfresco.data.model.api jars.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 10:02:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137603#M36905</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-01-28T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137604#M36906</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/51429"&gt;@nikhilesh_s1vak&lt;/A&gt;,&lt;BR /&gt;let's take a step back and try as follows (all from the CLI):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;java -version &amp;gt; output.txt&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;mvn -version &amp;gt;&amp;gt; output.txt&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;git clone https://github.com/Alfresco/alfresco-sdk.git sdk-4.2&lt;/PRE&gt;or (if you want to use SSH instead of HTTPS):&lt;BR /&gt;&lt;PRE&gt;git clone git@github.com:Alfresco/alfresco-sdk.git sdk-4.2&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;cd sdk-4.2&lt;BR /&gt;mvn clean install -Pmaven.test.skip=true&lt;BR /&gt;mvn archetype:generate -Dfilter=org.alfresco:&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Answer to the questions (eg. "2" - All-In-One Archetype, "15" - SDK 4.2.0, and then proper groupId and artifactId), apply the license properly, etc.&lt;/LI&gt;&lt;LI&gt;Do what's described in the Working with Enterprise guide, hence turn your generated project's pom.xml into:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&amp;lt;alfresco.bomDependencyArtifactId&amp;gt;acs-packaging&amp;lt;/alfresco.bomDependencyArtifactId&amp;gt;

&amp;lt;docker.acs.image&amp;gt;quay.io/alfresco/alfresco-content-repository&amp;lt;/docker.acs.image&amp;gt;

&amp;lt;alfresco.platform.version&amp;gt;6.2.2.10&amp;lt;/alfresco.platform.version&amp;gt;
&amp;lt;alfresco.share.version&amp;gt;6.2.2.2&amp;lt;/alfresco.share.version&amp;gt; 

&amp;lt;keystore.settings&amp;gt;&amp;lt;/keystore.settings&amp;gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Add your custom code, then run it by appending:&lt;BR /&gt;&lt;PRE&gt;&amp;gt;&amp;gt; output.txt&lt;/PRE&gt;at the end of the command.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If the problem is still there at this point, please post here the &lt;STRONG&gt;output.txt&lt;/STRONG&gt; file so we can have a look at it.&lt;BR /&gt;&lt;BR /&gt;If instead the problem is gone, then the culprit was likely a dirty cache or the fact that the right version of the SDK to use today is 4.1 or 4.2.&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 22:58:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137604#M36906</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-01-28T22:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137605#M36907</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I have tried the below steps but faced issues while executing them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command: &lt;/STRONG&gt;java -version &amp;gt; output.txt&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;Java version is not captured in the ouptu.txt&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Command:&amp;nbsp;&lt;/STRONG&gt;mvn clean install -Penterprise-62-tests &amp;gt;&amp;gt; output.txt&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;This command doesn't capture anything to output.txt file&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Command:&amp;nbsp;&lt;/STRONG&gt;mvn archetype:generate -DarchetypeCatalog=local &amp;gt;&amp;gt; output.txt&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;This command never excutes and nothing shows up in the CLI (waits indefinitely)&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have removed the file output from the above command and executed only the below part&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command: &lt;/STRONG&gt;mvn archetype:generate -DarchetypeCatalog=local&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;This is not taking any input and asking the same question again as below:&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000080"&gt;Choose archetype:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;Your filter doesn't match any archetype (hint: enter to return to initial list)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please guide me where i am going wrong.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 16:47:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137605#M36907</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-01T16:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137606#M36908</link>
      <description>&lt;P&gt;Which OS are you on? Which CLI are you using?&lt;BR /&gt;&lt;BR /&gt;What does it mean that it doesn't capture the ouptut in the output.txt file? That you see the output but the file remains empty, that the file is not even created, or that you don't even see the output of those commands?&lt;BR /&gt;Do you have write permission on that folder? On Linux &amp;amp; Mac you can do:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&amp;gt;&amp;gt; ~/output.txt&lt;/PRE&gt;&lt;P&gt;to create the file in your user's home, where you definitely have write permissions.&lt;BR /&gt;&lt;BR /&gt;Please, ensure you've followed all the steps above (especially the git clone) and then describe more deeply what happens next, thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 16:07:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137606#M36908</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-02T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137607#M36909</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;PRE&gt;Which OS are you on? Which CLI are you using?&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I am on Windows 10 Pro and using Window Command prompt(cmd.exe)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The file(output.txt) is created but the file remains empty. I see output of commands on the console but the file is empty.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The only information i could see in the file is the maven version output (&lt;STRONG&gt;mvn -version &amp;gt;&amp;gt; output.txt&lt;/STRONG&gt;) .&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The git clone is successful but executing the&amp;nbsp;below mentioned&amp;nbsp;command doesn't show anything on the console.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;mvn clean install -Penterprise-62-tests &amp;gt;&amp;gt; output.txt&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;So i have removed the &lt;STRONG&gt;output.txt&lt;/STRONG&gt; from the above command and executed the command (&lt;FONT color="#993300"&gt;mvn clean install -Penterprise-62-tests&lt;/FONT&gt;) which gave me &lt;STRONG&gt;401 unauthorized exception&lt;/STRONG&gt;. I fixed that by keeping an entry in the &lt;STRONG&gt;settings.xml&lt;/STRONG&gt; and executed the same command again which downloads all the dependencies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated the &lt;STRONG&gt;all-in-one archetype&lt;/STRONG&gt; as well without writing the resonse to output.txt file. But when i try to write the response to output.txt file, console doesn't show anything and the file remains empty.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 11:49:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137607#M36909</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-03T11:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137608#M36910</link>
      <description>&lt;UL&gt;&lt;LI&gt;Can you please try running the Command Prompt as an Administrator?&lt;BR /&gt;To do that, &lt;EM&gt;Right Click&lt;/EM&gt; on the Command Prompt icon, then select &lt;EM&gt;Run as administrator&lt;/EM&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot_2021-02-03 cpa_4 png (WEBP Image, 388 × 565 pixels).png" style="width: 294px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/960i0141AA668C954097/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it doesn't work, can you try:&lt;PRE&gt;dir &amp;gt; test.txt&lt;/PRE&gt;and see if it works?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;If it still doesn't work, can you please try running it from Powershell?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Apart from creating or not the &lt;EM&gt;output.txt&lt;/EM&gt; file, can you try adding your custom code to &lt;EM&gt;this&lt;/EM&gt; newly created &lt;STRONG&gt;all-in-one SDK-4.1&lt;/STRONG&gt; project, and see if you get the same error as before?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;About the repository in the &lt;EM&gt;settings.xml&lt;/EM&gt; you're right, for the Enterprise version it is needed.&lt;BR /&gt;I'll ensure we'll document it better if it's not already so.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 14:14:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137608#M36910</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-03T14:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137609#M36911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the swift response. Please find below inline comments for your questitons.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Can you please try running the Command Prompt as an Administrator?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;To do that,&amp;nbsp;&lt;EM&gt;Right Click&lt;/EM&gt;&amp;nbsp;on the Command Prompt icon, then select&amp;nbsp;&lt;EM&gt;Run as administrator&lt;/EM&gt;:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Yes, i ran the command prompt as an administrator&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If it doesn't work, can you try:&amp;nbsp; dir &amp;gt; test.txt and see if it works?&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;It works and the dir info is written to the file. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;But when i executed the &lt;STRONG&gt;java -version &amp;gt; test.txt&lt;/STRONG&gt;, the file remains empty.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If it still doesn't work, can you please try running it from Powershell?&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Yeah i have tried in powershell but the result is same.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 887px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/964i45C740F82124F3F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Apart from creating or not the&amp;nbsp;&lt;EM&gt;output.txt&lt;/EM&gt;&amp;nbsp;file, can you try adding your custom code to&amp;nbsp;&lt;EM&gt;this&lt;/EM&gt;&amp;nbsp;newly created&amp;nbsp;all-in-one SDK-4.1&amp;nbsp;project, and see if you get the same error as before?&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Sure i will do it and let you know the result.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 03 Feb 2021 14:44:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137609#M36911</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-03T14:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137610#M36912</link>
      <description>&lt;P&gt;What if you do:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;"java -version" &amp;gt; test.txt&lt;/PRE&gt;&lt;P&gt;?&lt;BR /&gt;&lt;BR /&gt;Unluckily, I've no Windows here and cannot try it myself, but I suspect it's something like that...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 15:16:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137610#M36912</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-03T15:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137611#M36913</link>
      <description>&lt;P&gt;The command supposed to be as below:&lt;/P&gt;&lt;P&gt;java -version 2&amp;gt;output.txt&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 06:01:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137611#M36913</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-04T06:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137612#M36914</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The build was successfull with all in one archetype though i had issues with integration-tests. I have applied the enterprise license and verified the application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i run after adding the custom code the build fails throwing compilation errors. I am trying to import the project to Eclipse to understand the errors. But i think those issues are mostly the same issues which i was facing earlier.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i will update you soon once the import is successful. Kindly let me know how can i upload the output.txt file here?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 15:17:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137612#M36914</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-04T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137613#M36915</link>
      <description>&lt;P&gt;You can use a service like &lt;A href="https://pastebin.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://pastebin.com/&lt;/A&gt; , or even paste its content here in a code block, as you prefer.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:41:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137613#M36915</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-04T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137614#M36916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the below pastebin links of the output.txt response.&lt;/P&gt;&lt;P&gt;Before adding the custom code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pastebin.com/8gMdbDHR" target="_self" rel="nofollow noopener noreferrer"&gt;https://pastebin.com/8gMdbDHR&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After adding the custom code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pastebin.com/duhD0C9t" target="_self" rel="nofollow noopener noreferrer"&gt;https://pastebin.com/duhD0C9t&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 05 Feb 2021 07:12:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137614#M36916</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-05T07:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137615#M36917</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Did you get a chance to look into it?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 05:24:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137615#M36917</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-09T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137616#M36918</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/51429"&gt;@nikhilesh_s1vak&lt;/A&gt; , yes I've had a look at it on Friday but then got very busy with the release of the new Alfresco SDK 4.2, which is almost ready.&lt;BR /&gt;&lt;BR /&gt;Can you please tell me the exact version of Platform/Repo you're using (6.2.x.x)?&lt;/P&gt;&lt;P&gt;In Q4 2020, the Alfresco Platform has undergone a major structural refactoring, and your code might need to be revised in order to work against versions newer than November 2020.&lt;BR /&gt;&lt;BR /&gt;Please provide me with this information, I'll have a look again at your log ASAP.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 10:20:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137616#M36918</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-09T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137617#M36919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83119"&gt;@andrealigios&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using Alfresco enterprise 6.2.0 version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 11:34:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137617#M36919</guid>
      <dc:creator>nikhilesh_s1vak</dc:creator>
      <dc:date>2021-02-09T11:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco SDK 4.0 build issue on Open JDK 11</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137618#M36920</link>
      <description>&lt;P&gt;I see your custom code is quite big since by default it compiles 128 files:&lt;/P&gt;&lt;PRE&gt;[INFO] Compiling 128 source files to C:\Nikhilesh\Work\Alfresco\alfresco 6.2\sdk-4.1\alfsdk41\alfsdk41-platform\target\classes&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Unless the code is all related to a single functionality, I suggest you (as a golden rule) split it into smaller parts and start adding them one by one, testing when it stops working.&lt;BR /&gt;&lt;BR /&gt;That said, the &lt;EM&gt;"Cannot find Symbol"&lt;/EM&gt; error has several possible causes, but since we're talking about migrating from Java 8 or earlier to Java 9 or higher, which is where JPMS kicked in, you must probably just include a few libraries (and eventually refactor the imports with the help of your IDE, if they're changed) in the pom.xml.&lt;/P&gt;&lt;P&gt;Libraries that were included by default before and are not in the JDK anymore now.&lt;BR /&gt;&lt;BR /&gt;For example, it happened to Java EE, and now if you need &lt;EM&gt;"javax"&lt;/EM&gt; components you need to import them, eg.:&lt;/P&gt;&lt;PRE&gt;    &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;artifactId&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;javax.annotation-api&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;artifactId&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;which in modern Java &lt;A href="https://stackoverflow.com/a/27173035/1654265" target="_self" rel="nofollow noopener noreferrer"&gt;is not available by default&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;While Maven simply complains, &lt;STRONG&gt;your IDE should also help you identify immediately what the problem is&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please ensure that Eclipse (or &lt;A href="https://stackoverflow.com/a/52511799/1654265" target="_self" rel="nofollow noopener noreferrer"&gt;IntelliJ CE&lt;/A&gt;) is &lt;STRONG&gt;properly configured to compile your project against Java 11&lt;/STRONG&gt; and not other versions, then take a look at all the red flags it should raise.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;At that point, it should really be a matter of identifying where the missing classes are gone in JDK11, and how to bring them back (likely by declaring them explicitly in pom.xml)&lt;BR /&gt;&lt;BR /&gt;Please let me know if it helped.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 09:28:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-sdk-4-0-build-issue-on-open-jdk-11/m-p/137618#M36920</guid>
      <dc:creator>andrealigios</dc:creator>
      <dc:date>2021-02-10T09:28:26Z</dc:date>
    </item>
  </channel>
</rss>

