<?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 ASS Solr failed to start in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133617#M35959</link>
    <description>&lt;P&gt;I am trying to start ASS solr for the first time and I had the problem like below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-solr-6-6-5-not-start-invalid-version-of-java-11-0-9-1/m-p/303908" target="_self" rel="nofollow noopener noreferrer"&gt;alfresco-solr-6-6-5-not-start-invalid-version-of-java-11-0-9-1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already try with JDk 10 / 11.0.1 / 11.0.7 and the result is&lt;/P&gt;&lt;PRE&gt;OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error: Could not find or load main class \
Caused by: java.lang.ClassNotFoundException: \&lt;/PRE&gt;&lt;P&gt;And when trying to start with JDK 1.8 it's still resulting in an error&lt;/P&gt;&lt;PRE&gt;Error: Could not find or load main class \&lt;/PRE&gt;&lt;P&gt;I found that the error happen in bellow line&lt;/P&gt;&lt;PRE&gt;echo %SOLR_PORT%&amp;gt;"%SOLR_TIP%"\bin\solr-%SOLR_PORT%.port
  "%JAVA%" %SERVEROPT% %SOLR_JAVA_MEM% %START_OPTS% ^
    -Dlog4j.configuration="%LOG4J_CONFIG%" -DSTOP.PORT=!STOP_PORT! -DSTOP.KEY=%STOP_KEY% ^
    -Dsolr.solr.home="%SOLR_HOME%" -Dsolr.install.dir="%SOLR_TIP%" ^
    -Djetty.host=%SOLR_JETTY_HOST% -Djetty.port=%SOLR_PORT% -Djetty.home="%SOLR_SERVER_DIR%" ^
    -Djava.io.tmpdir="%SOLR_SERVER_DIR%\tmp" -jar start.jar "%SOLR_JETTY_CONFIG%"&lt;/PRE&gt;&lt;P&gt;Which JDK I should use, and what I should do?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 08:39:45 GMT</pubDate>
    <dc:creator>lie16</dc:creator>
    <dc:date>2021-01-14T08:39:45Z</dc:date>
    <item>
      <title>ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133617#M35959</link>
      <description>&lt;P&gt;I am trying to start ASS solr for the first time and I had the problem like below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-solr-6-6-5-not-start-invalid-version-of-java-11-0-9-1/m-p/303908" target="_self" rel="nofollow noopener noreferrer"&gt;alfresco-solr-6-6-5-not-start-invalid-version-of-java-11-0-9-1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already try with JDk 10 / 11.0.1 / 11.0.7 and the result is&lt;/P&gt;&lt;PRE&gt;OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error: Could not find or load main class \
Caused by: java.lang.ClassNotFoundException: \&lt;/PRE&gt;&lt;P&gt;And when trying to start with JDK 1.8 it's still resulting in an error&lt;/P&gt;&lt;PRE&gt;Error: Could not find or load main class \&lt;/PRE&gt;&lt;P&gt;I found that the error happen in bellow line&lt;/P&gt;&lt;PRE&gt;echo %SOLR_PORT%&amp;gt;"%SOLR_TIP%"\bin\solr-%SOLR_PORT%.port
  "%JAVA%" %SERVEROPT% %SOLR_JAVA_MEM% %START_OPTS% ^
    -Dlog4j.configuration="%LOG4J_CONFIG%" -DSTOP.PORT=!STOP_PORT! -DSTOP.KEY=%STOP_KEY% ^
    -Dsolr.solr.home="%SOLR_HOME%" -Dsolr.install.dir="%SOLR_TIP%" ^
    -Djetty.host=%SOLR_JETTY_HOST% -Djetty.port=%SOLR_PORT% -Djetty.home="%SOLR_SERVER_DIR%" ^
    -Djava.io.tmpdir="%SOLR_SERVER_DIR%\tmp" -jar start.jar "%SOLR_JETTY_CONFIG%"&lt;/PRE&gt;&lt;P&gt;Which JDK I should use, and what I should do?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 08:39:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133617#M35959</guid>
      <dc:creator>lie16</dc:creator>
      <dc:date>2021-01-14T08:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133618#M35960</link>
      <description>&lt;P&gt;This is a known bug for Jetty (the server running SOLR):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/eclipse/jetty.project/issues/2090" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/eclipse/jetty.project/issues/2090&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;No Java version including a "9" in the release number can be used.&lt;/P&gt;
&lt;P&gt;Java 11 is required for ASS Solr, so try downgrading Java 11 to some previous version.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 08:44:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133618#M35960</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-01-14T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133619#M35961</link>
      <description>&lt;P&gt;I already try with java 1.8.0 the warning is gone, but error still show up&lt;/P&gt;&lt;PRE&gt;Error: Could not find or load main class \&lt;/PRE&gt;&lt;P&gt;Detail is in original post.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 09:10:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133619#M35961</guid>
      <dc:creator>lie16</dc:creator>
      <dc:date>2021-01-14T09:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133620#M35962</link>
      <description>&lt;P&gt;Java 11 is required.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 11:27:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133620#M35962</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-01-14T11:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133621#M35963</link>
      <description>&lt;P&gt;Look I already try with jdk 11.00, 11.01, 11.02, 11.09 and all still showing the same error.&lt;/P&gt;&lt;P&gt;Thx for your reply angelboroy. I already know what's wrong. It's not the config just the documentation about how to run space are not allowed apparently.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 13:14:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133621#M35963</guid>
      <dc:creator>lie16</dc:creator>
      <dc:date>2021-01-14T13:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133622#M35964</link>
      <description>&lt;P&gt;Can you include in this post the link to the documentation you are referring?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 15:05:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133622#M35964</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-01-14T15:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: ASS Solr failed to start</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133623#M35965</link>
      <description>&lt;P&gt;While executing, when JVM does not find a .class file with the specified name then a run time error occurs saying “Could not found or load main class”. The reason why this happens is mostly due to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Wrong Class Name&lt;/LI&gt;&lt;LI&gt;Invalid Classpath&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Main class could not be found when there is typo or wrong syntax in the fully qualified java class name or it does not exist in the provided classpath. You must ensure that you add the location of your .class file to your classpath. So, if its in the current folder, add . to your &lt;A href="http://net-informations.com/java/basics/path.htm" target="_self" rel="nofollow noopener noreferrer"&gt;classpath&lt;/A&gt;. Note that the Windows classpath separator is a semi-colon( &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; . If you want to execute the main() method in MainClass, you must use the full class name, including package name, in the java command.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 06:02:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ass-solr-failed-to-start/m-p/133623#M35965</guid>
      <dc:creator>markelvy</dc:creator>
      <dc:date>2021-07-05T06:02:11Z</dc:date>
    </item>
  </channel>
</rss>

