<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Service Builder fails because of 404 file not found on server</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110239727" />
  <subtitle>Service Builder fails because of 404 file not found on server</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110239727</id>
  <updated>2026-05-31T21:17:11Z</updated>
  <dc:date>2026-05-31T21:17:11Z</dc:date>
  <entry>
    <title>RE: Service Builder fails because of 404 file not found on server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110351011" />
    <author>
      <name>Tran Du</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110351011</id>
    <updated>2018-06-27T09:20:53Z</updated>
    <published>2018-06-27T09:20:53Z</published>
    <summary type="html">&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Could you help to find the repo URL and change it? I really want to
  deploy my portlet but am unable to do it. Thanks in advance!&lt;/p&gt;</summary>
    <dc:creator>Tran Du</dc:creator>
    <dc:date>2018-06-27T09:20:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Service Builder fails because of 404 file not found on server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110251943" />
    <author>
      <name>Tran Du</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110251943</id>
    <updated>2018-06-21T15:51:20Z</updated>
    <published>2018-06-21T15:51:20Z</published>
    <summary type="html">&lt;p&gt;Cool, thank you David&lt;/p&gt;</summary>
    <dc:creator>Tran Du</dc:creator>
    <dc:date>2018-06-21T15:51:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Service Builder fails because of 404 file not found on server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110250989" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110250989</id>
    <updated>2018-06-21T15:21:30Z</updated>
    <published>2018-06-21T15:21:30Z</published>
    <summary type="html">&lt;p&gt;Well, there has been some effort I believe to change the
  locations/urls for assets.  The last message about &amp;quot;moved to
  repository-cdn.liferay.com...&amp;quot; is demonstrative of this.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I believe in your ivy settings you might be able to change where e
  the repository points to, the repo URL.  I would try to find it and
  change it to the right value and bypass all of the redirect handling.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-06-21T15:21:30Z</dc:date>
  </entry>
  <entry>
    <title>Service Builder fails because of 404 file not found on server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110239726" />
    <author>
      <name>Tran Du</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110239726</id>
    <updated>2018-06-21T04:36:04Z</updated>
    <published>2018-06-21T04:36:04Z</published>
    <summary type="html">&lt;p&gt;Hi team,&lt;/p&gt;
&lt;p&gt;I am trying to build service in ant but it fails with the following error:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Buildfile: D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\portlets\EmployeePortlet-portlet\build.xml&lt;br /&gt;
        [get] Getting:
  http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] To:
  C:\Users\x\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] Error opening connection java.io.FileNotFoundException:
  http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] Error opening connection java.io.FileNotFoundException:
  http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] Error opening connection java.io.FileNotFoundException:
  http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] Can't get
  http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
  to
  C:\Users\x\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] Getting:
  http://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get] To:
  C:\Users\x\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get]
  http://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
  moved to
  https://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;br /&gt;
        [get]
  https://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
  permanently moved to http://repository-cdn.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar&lt;/p&gt;
&lt;p&gt;BUILD FAILED&lt;br /&gt; D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\portlets\EmployeePortlet-portlet\build.xml:5:
  The following error occurred while executing this line:&lt;br /&gt;
  D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\portlets\build-common-portlet.xml:5:
  The following error occurred while executing this line:&lt;br /&gt;
  D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\build-common-plugin.xml:5:
  The following error occurred while executing this line:&lt;br /&gt;
  D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\build-common.xml:60:
  The following error occurred while executing this line:&lt;br /&gt;
  D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\build-common-ivy.xml:130:
  The following error occurred while executing this line:&lt;br /&gt;
  D:\Installation
  Files\liferay-portal-tomcat-6.2-ce-ga5-20151119152357409\liferay-plugins-sdk-6.2\build-common-ivy.xml:81:
  Redirection detected from https to http. Protocol switch unsafe, not allowed.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It seems to me like the jar file is missing on server. The last
  message is related to https and http protocol as well. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is there something that I can fix locally?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks guys&lt;/p&gt;</summary>
    <dc:creator>Tran Du</dc:creator>
    <dc:date>2018-06-21T04:36:04Z</dc:date>
  </entry>
</feed>
