<?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>license.LicenseException: No valid license has been found</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111181182" />
  <subtitle>license.LicenseException: No valid license has been found</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111181182</id>
  <updated>2026-04-06T00:59:20Z</updated>
  <dc:date>2026-04-06T00:59:20Z</dc:date>
  <entry>
    <title>RE: license.LicenseException: No valid license has been found</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111193654" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111193654</id>
    <updated>2018-10-11T19:16:56Z</updated>
    <published>2018-10-11T19:16:56Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Ann james:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;Please tell me if i am wrong&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;I think there's something lost in translation. Did you already add
  the environment variable mentioned in the link I posted earlier?&lt;/p&gt;
&lt;pre&gt;-Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory&lt;/pre&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-10-11T19:16:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: license.LicenseException: No valid license has been found</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111188804" />
    <author>
      <name>Ann james</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111188804</id>
    <updated>2018-10-11T06:57:26Z</updated>
    <published>2018-10-11T06:57:26Z</published>
    <summary type="html">&lt;p&gt;It is still not working i have added the following into setenv files&lt;/p&gt;
&lt;p&gt;  -Dchemaxon.license.url='path'&lt;/p&gt;
&lt;p&gt;Please tell me if i am wrong&lt;/p&gt;</summary>
    <dc:creator>Ann james</dc:creator>
    <dc:date>2018-10-11T06:57:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: license.LicenseException: No valid license has been found</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111186257" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111186257</id>
    <updated>2018-10-10T20:00:05Z</updated>
    <published>2018-10-10T20:00:05Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Ann james:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;pre&gt;
Caused by: java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
&amp;nbsp;&amp;nbsp; &amp;nbsp;at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
&amp;nbsp;&amp;nbsp; &amp;nbsp;at chemaxon.license.XMLReader.checkLicense(XMLReader.java:164)
&amp;nbsp;&amp;nbsp; &amp;nbsp;... 184 more&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;Supposedly, that's an error with the version of xerces that Liferay
  ships with (&lt;a href="https://issues.jboss.org/browse/ESB-1507"&gt;reference&lt;/a&gt;), and so
  the workaround recommended there is to add the indicated system
  property (if you're using Apache Tomcat, you can add it alongside all
  the other &lt;code&gt;-D&lt;/code&gt; settings in &lt;code&gt;setenv.sh&lt;/code&gt; and
  &lt;code&gt;setenv.bat&lt;/code&gt;) so that it uses the JDK built-in schema validation.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-10-10T20:00:05Z</dc:date>
  </entry>
  <entry>
    <title>license.LicenseException: No valid license has been found</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111181181" />
    <author>
      <name>Ann james</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111181181</id>
    <updated>2018-10-10T06:38:20Z</updated>
    <published>2018-10-10T06:38:20Z</published>
    <summary type="html">&lt;p&gt;I have added chemaxon jars to my project.I have academic  license
  file provided by my institute .How should i provide this license file
  in my portlet.So that at time of execution it may get the license
  file.I tried passing it as lib but its not working.Also i tried adding
  the following code to my portlet:&lt;/p&gt;
&lt;p&gt;chemaxon.license.LicenseManager.setLicenseFile(PATH).But it is still
  not working&lt;/p&gt;
&lt;p&gt;Right now i m getting the following error:&lt;/p&gt;
&lt;p&gt;chemaxon.license.LicenseException: No valid license has been
  found.&lt;br /&gt; Product name: Structure to Name Plugin&lt;br /&gt; Licenses are
  read from:
  C:\Users\chemaxon\license.cxl;C:\Users\chemaxon\license.cxl;C:\Users\chemaxon\license.cxl&lt;br /&gt;
  Please visit http://www.chemaxon.com/contact-us/ or contact
  sales@chemaxon.com to obtain the corresponding license.&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt;     at
  org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)&lt;br /&gt;
      at
  org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)&lt;br /&gt;
      at
  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;br /&gt;
      at
  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;br /&gt;
      at
  org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;br /&gt;
      at java.lang.Thread.run(Thread.java:748)&lt;br /&gt; Caused by:
  java.lang.IllegalArgumentException:
  http://www.w3.org/2001/XMLSchema&lt;br /&gt;     at
  javax.xml.validation.SchemaFactory.newInstance(Unknown Source)&lt;br /&gt;
      at
  chemaxon.license.XMLReader.checkLicense(XMLReader.java:164)&lt;br /&gt;   
   ... 184 more&lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Ann james</dc:creator>
    <dc:date>2018-10-10T06:38:20Z</dc:date>
  </entry>
</feed>
