-
Bug
-
Resolution: Done
-
Major
-
3.0.19.Final
-
None
When compiling a project with RESTEasy artefacts in the module path (in which all jars become automatic jigsaw modules) with JDK9 (build 133 and previous build), compilation fails with the following error:
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] module reads package org.jboss.resteasy.plugins.server.servlet from both async.http.servlet and resteasy.jaxrs [ERROR] module async.http.servlet reads package org.jboss.resteasy.plugins.server.servlet from both async.http.servlet and resteasy.jaxrs [ERROR] module resteasy.cdi reads package org.jboss.resteasy.plugins.server.servlet from both async.http.servlet and resteasy.jaxrs [ERROR] module resteasy.jaxrs reads package org.jboss.resteasy.plugins.server.servlet from both async.http.servlet and resteasy.jaxrs
Error disappears if RESTEasy is rebuild with moving all classes in async-http-servlet-3.0 module from org.jboss.resteasy.plugins.server.servlet to org.jboss.resteasy.plugins.server.servlet.servlet3 package