Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98339

com.sun.xml.internal.ws.spi.ProviderImpl cannot be found in Java 11

    Details

      Description

      We stumbled into this exception when upgrading some rest modules using the jaxws runtime to Liferay 7.2 and Java 11.

      The stacktrace shows:

      ...
      Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl cannot be found by org.apache.aries.jax.rs.whiteboard_1.0.4

      The problem is quite simple: com.sun.xml.internal.ws.spi.ProviderImpl  was removed in Java 9. In a normal web application, this wouldn't be a problem, since we could simply upgrade to jaxws-rt 2.3.2.

      The jaxws runtime should be upgraded to 2.3+ to work correctly with Java 11.

       

       

       

       

        Attachments

        1. jars.zip
          262 kB
        2. jars.zip
          262 kB
        3. modules.zip
          11 kB

          Issue Links

            Activity

              People

              Assignee:
              carlos.sierra Carlos Sierra (Inactive)
              Reporter:
              crabel Christoph Rabel
              Participants of an Issue:
              Recent user:
              Brian Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 24 weeks, 4 days ago

                  Packages

                  Version Package