You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Cihad Guzel (Jira)" <ji...@apache.org> on 2019/09/25 13:35:00 UTC

[jira] [Commented] (CONNECTORS-1624) Get ManifoldCF to run under Java 11 or higher

    [ https://issues.apache.org/jira/browse/CONNECTORS-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937734#comment-16937734 ] 

Cihad Guzel commented on CONNECTORS-1624:
-----------------------------------------

Some packages (ex: [JAX-WS|https://en.wikipedia.org/wiki/Java_API_for_XML_Web_Services]) are no longer applicable due to the removal of the Java 11 [2]. I try to build using maven with Java11 and I have had some errors as follows:
{code:java}
[INFO] -------------< org.apache.manifoldcf:mcf-connector-common >-------------
[INFO] Building ManifoldCF - Connector-Common 2.14                       [5/63]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mcf-connector-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ mcf-connector-common ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mcf-connector-common ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mcf-connector-common ---
[INFO] Compiling 59 source files to /Users/cguzel/Projects/apache/svn/mcf-tag-2.14-RC1/framework/connector-common/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/cguzel/Projects/apache/svn/mcf-tag-2.14-RC1/framework/connector-common/src/main/java/org/apache/manifoldcf/connectorcommon/common/CommonsHTTPSender.java:[60,21] error: package javax.xml.soap does not exist
[ERROR] /Users/cguzel/Projects/apache/svn/mcf-tag-2.14-RC1/framework/connector-common/src/main/java/org/apache/manifoldcf/connectorcommon/common/CommonsHTTPSender.java:[61,21] error: package javax.xml.soap does not exist
[ERROR] /Users/cguzel/Projects/apache/svn/mcf-tag-2.14-RC1/framework/connector-common/src/main/java/org/apache/manifoldcf/connectorcommon/common/CommonsHTTPSender.java:[62,21] error: package javax.xml.soap does not exist
[INFO] 3 errors
{code}
[1] [mail-list|https://lists.apache.org/thread.html/cbad71e2309bd492b18e2cf4ba5731e5144063a32e743210528c3b1d@%3Cdev.manifoldcf.apache.org%3E]

[2] [Java 11 Release Notes|https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html#JDK-8190378]

> Get ManifoldCF to run under Java 11 or higher
> ---------------------------------------------
>
>                 Key: CONNECTORS-1624
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1624
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Framework core
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.15
>
>
> Java 11 doesn't include a number of classes that Java 8 does.  We need to explicitly include jars that provide these classes or ManifoldCF will not function under higher Java revs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)