uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Java 11 - UIMA-AS 2.10.3
Date Wed, 26 Feb 2020 16:33:21 GMT
Hi,

This problem was fixed in core uima (uimaj) in version 2.10.3, see Jira issue:
https://issues.apache.org/jira/browse/UIMA-5754

But uima-as version 2.10.3 was built/delivered with a previous version of core
uima (uimaj), and doesn't have this fix.

We'll look into fixes/workarounds for this earlier version.

-Marshall


On 2/26/2020 12:58 AM, Hai-Son Nguyen wrote:
> Hi,
> I receiving an exception running:
>    bin/runUimaClass.sh org.apache.uima.adapter.jms.service.UIMA_Service ...
> using Java 11 both the Oracle
>    java 11.0.6 2020-01-14 LTS
> and the OpenJDK versions:
>   openjdk 11.0.3 2019-04-16
>
> Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader
cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader
and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
> 	at org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader(UimaBootstrap.java:146)
> 	at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74)
>
> Thanks!
> Hai-Son

Mime
View raw message