Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » jax-ws-3.0.0 maven build failure(metro-jax-ws-3.0.0 mvn compile failure )
jax-ws-3.0.0 maven build failure [message #1852452] Mon, 16 May 2022 22:18
Larry Heidt is currently offline Larry HeidtFriend
Messages: 1
Registered: May 2022
Junior Member
Please excuse my newcomer's ignorance - if i'm posting to the wrong forum, please correct me.

I am trying to use the Windows command line to build metro-jax-ws-3.0.0 (using Maven 3.6.1 and Java 11).

The "mvn compile" output seems to show jaxws-rt building successfully, immediately followed by the building of jaxws-rt-fi failing because for some unknown reason Maven cannot seem to find the jaxws-rt that Maven just built:



[INFO] -------------------------< com.sun.xml.ws:rt >--------------------------
[INFO] Building JAX-WS RI Runtime (rt) 3.0.0 [5/28]
[INFO] --------------------------------[ jar ]---------------------------------

< . . . lines omitted . . . >

[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile-mr) @ rt ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to C:\TEMP\tmp\metro-jax-ws-3.0.0\metro-jax-ws-3.0.0\jaxws-ri\runtime\rt\target\classes\META-INF\versions\9
[INFO]
[INFO] ------------------------< com.sun.xml.ws:rt-fi >------------------------
[INFO] Building JAX-WS RI Fast Infoset Support (rt-fi) 3.0.0 [6/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- import-properties-plugin:4.0.0:import-pom-properties (default) @ rt-fi ---
[WARNING] Searching project: jaxws-ri-bom
[INFO] Resolving properties for com.sun.xml.ws:jaxws-ri-bom
[INFO] Imported via import-scope: org.glassfish.jaxb:jaxb-bom:${jaxb.version}
[INFO] Imported version resolved to: 3.0.0
[INFO] Setting property: xml.bind-api.version:3.0.0
[INFO] Setting property: stax-ex.version:2.0.0
[INFO] Setting property: jaxb-api-osgi.version:3.0
[INFO] Setting property: activation.version:2.0.0
[INFO] Setting property: fastinfoset.version:2.0.0
[INFO] Setting property: istack.version:4.0.0
[INFO] Resolving properties for org.glassfish.jaxb:jaxb-bom
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-versions) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:parse-version (jaxb.version) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:parse-version (xml.bind-api.version) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:parse-version (jaxws.version) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:parse-version (jaxws-api.version) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:parse-version (mail.version) @ rt-fi ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (create-buildnumber) @ rt-fi ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @ rt-fi ---
[INFO] Source directory: C:\TEMP\tmp\metro-jax-ws-3.0.0\metro-jax-ws-3.0.0\jaxws-ri\runtime\rt-fi\target\generated-sources\rsrc-gen added.
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-resource (add-legal-resource) @ rt-fi ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ rt-fi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\TEMP\tmp\metro-jax-ws-3.0.0\metro-jax-ws-3.0.0\jaxws-ri\runtime\rt-fi\src\main\resources
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ rt-fi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to C:\TEMP\tmp\metro-jax-ws-3.0.0\metro-jax-ws-3.0.0\jaxws-ri\runtime\rt-fi\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/TEMP/tmp/metro-jax-ws-3.0.0/metro-jax-ws-3.0.0/jaxws-ri/runtime/rt-fi/src/main/java/module-info.java:[17,28] module not found: com.sun.xml.ws.rt
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jakarta XML Web Services Implementation 3.0.0:
[INFO]
[INFO] JAX-WS RI Bill-of-Materials (BOM) .................. SUCCESS [ 0.006 s]
[INFO] JAX-WS RI Bill-of-Materials (BOM) Extensions ....... SUCCESS [ 0.002 s]
[INFO] WS-Policy Implementation ........................... SUCCESS [ 27.190 s]
[INFO] Jakarta XML Web Services Implementation ............ SUCCESS [ 0.177 s]
[INFO] JAX-WS RI Runtime (rt) ............................. SUCCESS [ 11.503 s]
[INFO] JAX-WS RI Fast Infoset Support (rt-fi) ............. FAILURE [ 0.591 s]



FYI, if i temporarily remove rt-fi from ...\jaxws-ri\runtime\pom.xml, maven outputs a similar error attempting to find jaxws-rt for httpspi-servlet:


[ERROR] /C:/TEMP/tmp/metro-jax-ws-3.0.0/metro-jax-ws-3.0.0/jaxws-ri/runtime/httpspi-servlet/src/main/java/module-info.java:[12,28] module not found: com.sun.xml.ws.rt


Please let me know what I'm missing here.

Thank you in advance.
Previous Topic:Marvin Jar file problem
Next Topic:Controlling the color of each Pie Slice
Goto Forum:
  


Current Time: Sat Dec 14 04:26:48 GMT 2024

Powered by FUDForum. Page generated in 0.09200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top