<div dir="ltr"><span style="font-size:12.8px">Hi Stuart, </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I&#39;ve tested it out for both spec jars by adding an Automatic-Module-Name to their respective manifest.mf files and then it&#39;s working. No more errors with regards to the bundle names.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">While tryout out the Jetty Spring Boot starter, I noticed they are using the javax.servlet.* libraries to pull in the api&#39;s. That solution isn&#39;t giving any issues neither, so that might be a viable option as well?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Do I log a defect for this or is this handled internally?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">With kind regards, </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-31 3:25 GMT+02:00 Stuart Douglas <span dir="ltr">&lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It sounds like we need to add an Automatic-Module-Name entry to these<br>
jars manifests to specify the actual module name. Is there any chance<br>
you could modify the jar&#39;s to test this out?<br>
<br>
Stuart<br>
<div><div class="h5"><br>
On Wed, Aug 30, 2017 at 9:05 PM, Tester &lt;<a href="mailto:spamcmon@gmail.com">spamcmon@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m using the Spring Boot starter for Undertow. The dependencies which are<br>
&gt; pulled in are:<br>
&gt;<br>
&gt; org.springframework.boot:<wbr>spring-boot-starter-undertow:<wbr>jar:2.0.0.M3:compile<br>
&gt;  |  +- io.undertow:undertow-core:jar:<wbr>1.4.18.Final:compile<br>
&gt;  |  |  +- org.jboss.xnio:xnio-api:jar:3.<wbr>3.8.Final:compile<br>
&gt;  |  |  \- org.jboss.xnio:xnio-nio:jar:3.<wbr>3.8.Final:runtime<br>
&gt;  |  +- io.undertow:undertow-servlet:<wbr>jar:1.4.18.Final:compile<br>
&gt;  |  |  \-<br>
&gt; org.jboss.spec.javax.<wbr>annotation:jboss-annotations-<wbr>api_1.2_spec:jar:1.0.0.Final:<wbr>compile<br>
&gt;  |  +- io.undertow:undertow-<wbr>websockets-jsr:jar:1.4.18.<wbr>Final:compile<br>
&gt;  |  |  \-<br>
&gt; org.jboss.spec.javax.<wbr>websocket:jboss-websocket-api_<wbr>1.1_spec:jar:1.1.0.Final:<wbr>compile<br>
&gt;  |  +- javax.servlet:javax.servlet-<wbr>api:jar:3.1.0:compile<br>
&gt;  |  \- org.glassfish:javax.el:jar:3.<wbr>0.0:compile<br>
&gt;<br>
&gt; Now, when I run the application through Java 9 (Release candidate)  and I<br>
&gt; have a module-info.java (Jigsaw), then I get the following error:<br>
&gt;<br>
&gt; Error occurred during initialization of boot layer<br>
&gt; java.lang.module.<wbr>FindException: Unable to derive module descriptor for<br>
&gt; C:\Users\xxxxx\.m2\repository\<wbr>org\jboss\spec\javax\<wbr>annotation\jboss-annotations-<wbr>api_1.2_spec\1.0.0.Final\<wbr>jboss-annotations-api_1.2_<wbr>spec-1.0.0.Final.jar<br>
&gt; Caused by: java.lang.<wbr>IllegalArgumentException:<br>
&gt; jboss.annotations.api.1.2.<wbr>spec: Invalid module name: &#39;1&#39; is not a Java<br>
&gt; identifier<br>
&gt;<br>
&gt; It seems there is an issue with the determination of the naming of the<br>
&gt; automatic module. I expect to have the same issue for<br>
&gt; jboss-websocket-api_1.1_spec.<br>
&gt;<br>
&gt; The name of the jar file isn&#39;t aligned on the algorithm defined under<br>
&gt; (<a href="http://download.java.net/java/jigsaw/docs/api/java/lang/module/ModuleFinder.html" rel="noreferrer" target="_blank">http://download.java.net/<wbr>java/jigsaw/docs/api/java/<wbr>lang/module/ModuleFinder.html</a>)<wbr>.<br>
&gt;<br>
&gt; Is anyone aware of this issue? Is this something that can be resolved?<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; undertow-dev mailing list<br>
&gt; <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/undertow-dev</a><br>
</blockquote></div><br></div>