<?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: Published Route is incomplete: JAR is missing a directory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375917#M145965</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Does it work as expected when you are using a different machine? What's OS and JDK version are you using in your previous machine?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 09:34:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-19T09:34:28Z</dc:date>
    <item>
      <title>Published Route is incomplete: JAR is missing a directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375914#M145962</link>
      <description>&lt;P&gt;While deploying a Route, I notice the following in the log file:&lt;/P&gt; 
&lt;P&gt;ERROR | SpringOsgiExtenderThread-119 | BundleApplicationContextListener&amp;nbsp;&amp;nbsp; 50 | 194 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=api.ApiProductServiceV2, config=osgibundle:/META-INF/spring/*.xml))&lt;/P&gt; 
&lt;P&gt;org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [api.apiproductservicev2_3_15.ApiProductServiceV2] for bean with name 'route' defined in URL [bundleentry://1669.fwk444558840/META-INF/spring/route.xml]; nested exception is java.lang.ClassNotFoundException: api.apiproductservicev2_3_15.ApiProductServiceV2 not found from bundle [api.ApiProductServiceV2]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Route is not deployed, its services cannot be used.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This Route is similar in construction to other Routes that I have. Indeed, in earlier versions this Route could be deployed without errors. But "something happened" and now it cannot be deployed anymore. I googled it and found comparable problems, but the offered suggestions haven't helped me.&lt;/P&gt; 
&lt;P&gt;I am puzzled by this bean 'route', I don't have something like that, as far as I know. Or is it just because the component is a Route?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Upon further investigation, I noticed that the last version, which can be deployed successfully, contains the directories api, beans, com, lib and META-INF. Later versions, which cannot be deployed anymore, lack the api directory. This directory seems to contain the Route. So that explains the error that I am getting. The name api is also found in the Dependencies of the Route, section Export Packages.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now the question is: what do I need to do to generate the api directory and its contents, again.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Edit: after advice from a much more experienced Talend developer, I switched to a new workspace. This produced some different results, but still my problems were not solved: clicking Run gave the error message "Exception in thread "main" java.lang.Error: Unresolved compilation problem: at api.apiproductservicev2_3_15.ApiProductServiceV2.main(ApiProductServiceV2.java:1383)". But this line number refers to: "public static void main(String[] args) {", so pretty much unusable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After a restart of the Studio, I got the dreaded message that I have seen before: "Error: Could not find or load main class api.apiproductservicev2_3_16.ApiProductServiceV2"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The advice of the other developer is now: reinstall the Studio.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I ran the Studio from another machine, tried running the same Route and there it just runs. So the problem is indeed with the Studio on the machine I was using first. I guess I have to reinstall.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375914#M145962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Published Route is incomplete: JAR is missing a directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375915#M145963</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Thanks for sharing your information with us. From you description, it seems that there is something wrong with your ESB installation.&lt;/P&gt; 
&lt;P&gt;Could you&amp;nbsp;please clarify in which Talend version/edition you are? Is there any update when you reinstall your studio?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375915#M145963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Published Route is incomplete: JAR is missing a directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375916#M145964</link>
      <description>&lt;P&gt;I am using 6.5.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not reinstalled the Studio yet, as that is a lot of work and I have a workaround: I am using a different machine.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375916#M145964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T08:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Published Route is incomplete: JAR is missing a directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375917#M145965</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Does it work as expected when you are using a different machine? What's OS and JDK version are you using in your previous machine?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Published-Route-is-incomplete-JAR-is-missing-a-directory/m-p/2375917#M145965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T09:34:28Z</dc:date>
    </item>
  </channel>
</rss>

