<?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: JSONObject cannot be resolved to a type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290685#M63937</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is the value I have. Does it mean it uses java 8 ?&lt;/P&gt;&lt;P&gt;I have java11 too on the machine but it is not available here ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PKNprAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153490i66680C0DEBDB24B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PKNprAAH.png" alt="0695b00000PKNprAAH.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 09:00:13 GMT</pubDate>
    <dc:creator>FreyInt</dc:creator>
    <dc:date>2022-03-14T09:00:13Z</dc:date>
    <item>
      <title>JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290680#M63932</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to migrate a job that works. It uses JSON libraries.&lt;/P&gt;&lt;P&gt;When I build it I have the following error message :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.talend.designer.runprocess.ProcessorException: Routines "FormatTransform" has compile errors&lt;/P&gt;&lt;P&gt;Error Line: 89&lt;/P&gt;&lt;P&gt;Detail Message: JSONObject cannot be resolved to a type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the posts I saw on this forum it seems linked to missing libraries, but unfortunately I don't see any missing .jars anymore and I copied some jar used from the current working version but it has no impact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code starts like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSONObject root = new JSONObject();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSONObject data = new JSONObject();&lt;/P&gt;&lt;P&gt;data.put("picture_id", row10.picture_id);&lt;/P&gt;&lt;P&gt;data.put("woa_id", row10.woa_id);&lt;/P&gt;&lt;P&gt;data.put("title", row10.woa_title);&lt;/P&gt;&lt;P&gt;data.put("path", row10.path);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see how to find the missing libraries...&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks is advance&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 08:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290680#M63932</guid>
      <dc:creator>FreyInt</dc:creator>
      <dc:date>2022-03-11T08:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290681#M63933</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please clarify in which Talend version/edition you are and what's JDK version you are using? Do you have more than 1 version of Java installed on your machine?&lt;/P&gt;&lt;P&gt;I met this issue before and it was due to availability of different java version in the system. If so, please try to remove old JDK if you are not using it anymore and&lt;/P&gt;&lt;P&gt;there may be chance to overcome this issue.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 08:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290681#M63933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-11T08:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290682#M63934</link>
      <description>&lt;P&gt;Hi, to complete what @Xiaodi Shi​&amp;nbsp;says, you can go in the project settings select Build then Java Version and here you can choose the JDK version for your project&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 09:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290682#M63934</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-11T09:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290683#M63935</link>
      <description>&lt;P&gt;@&lt;A href="https://community.talend.com/s/profile/00539000004XsaeAAC" alt="https://community.talend.com/s/profile/00539000004XsaeAAC" target="_blank"&gt;xdshi&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;I have the old server : Talend 5.6 + Java 8 --&amp;gt; works&lt;/P&gt;&lt;P&gt;The New server : Talend 8 + Java 11 --&amp;gt; does not work (the build)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@&lt;A href="https://community.talend.com/s/profile/0055b00000Ll14kAAB" alt="https://community.talend.com/s/profile/0055b00000Ll14kAAB" target="_blank"&gt;gjeremy1617088143&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;I am not able to find the project settings like you say, but I launch Talend I specify the -vm the java 11 path&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 09:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290683#M63935</guid>
      <dc:creator>FreyInt</dc:creator>
      <dc:date>2022-03-11T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290684#M63936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please have a look at this screenshot for detail.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PKM2YAAX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143506iDE1A549B8FC3237F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PKM2YAAX.png" alt="0695b00000PKM2YAAX.png" /&gt;&lt;/span&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 03:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290684#M63936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-14T03:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: JSONObject cannot be resolved to a type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290685#M63937</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is the value I have. Does it mean it uses java 8 ?&lt;/P&gt;&lt;P&gt;I have java11 too on the machine but it is not available here ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000PKNprAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153490i66680C0DEBDB24B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000PKNprAAH.png" alt="0695b00000PKNprAAH.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 09:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSONObject-cannot-be-resolved-to-a-type/m-p/2290685#M63937</guid>
      <dc:creator>FreyInt</dc:creator>
      <dc:date>2022-03-14T09:00:13Z</dc:date>
    </item>
  </channel>
</rss>

