uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hai-Son Nguyen <haison.nguyen.t...@gmail.com>
Subject Java 11 - UIMA-AS 2.10.3
Date Wed, 26 Feb 2020 05:58:28 GMT
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