<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tomcat on Maarten on IT</title><link>https://maarten.mulders.it/categories/tomcat/</link><description>Recent content in Tomcat on Maarten on IT</description><generator>Hugo</generator><language>en-us</language><copyright>&amp;copy; 2013 - 2026 Maarten Mulders</copyright><lastBuildDate>Mon, 27 Sep 2021 21:26:41 +0200</lastBuildDate><atom:link href="https://maarten.mulders.it/categories/tomcat/index.xml" rel="self" type="application/rss+xml"/><item><title>I upgraded to Java 9 - Part II</title><link>https://maarten.mulders.it/2018/01/i-upgraded-to-java-9-part-ii/</link><pubDate>Tue, 23 Jan 2018 16:14:35 +0200</pubDate><guid>https://maarten.mulders.it/2018/01/i-upgraded-to-java-9-part-ii/</guid><description>&lt;p&gt;A few weeks ago, &lt;a href="https://maarten.mulders.it/blog/2018/01/migrating-to-java9.html"&gt;I wrote&lt;/a&gt; about migrating an existing Spring-application to Java 9.
When I finished, two things remained to be investigated:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Code coverage for unit tests.&lt;/li&gt;
&lt;li&gt;A bunch of warnings when running the application in Tomcat.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="code-coverage-for-unit-tests"&gt;Code coverage for unit tests&lt;/h3&gt;
&lt;p&gt;As &lt;a href="https://maarten.mulders.it/blog/2018/01/migrating-to-java9.html#comment-3706293583"&gt;Alan Bateman pointed out&lt;/a&gt;, upgrading JaCoCo to its latest version &lt;em&gt;should&lt;/em&gt; resolve the issue about the &lt;code&gt;$jacocoData&lt;/code&gt; field.
In fact, I thought I had done that, but somehow I kept on getting the same error every single time.
But when I tried (again) last week, it somehow disappeared.
No error to be seen, all tests green, and a nice coverage report from JaCoCo.
I&amp;rsquo;m a happy developer, again!&lt;/p&gt;</description></item><item><title>I upgraded to Java 9 - here's what happened</title><link>https://maarten.mulders.it/2018/01/i-upgraded-to-java-9-heres-what-happened/</link><pubDate>Fri, 12 Jan 2018 20:28:35 +0200</pubDate><guid>https://maarten.mulders.it/2018/01/i-upgraded-to-java-9-heres-what-happened/</guid><description>&lt;p&gt;I recently participated in a &lt;a href="https://twitter.com/royvanrijn/status/951087591272714241"&gt;Twitter conversation&lt;/a&gt; about upgrading to Java 9.
Like &lt;a href="https://twitter.com/royvanrijn/status/950718660641017856"&gt;most of the people&lt;/a&gt;, my current projects are all on Java 8.
Of course the question came up, why don&amp;rsquo;t you upgrade?
Good question!
Since I hadn&amp;rsquo;t even tried, I decided to see how far I could come&amp;hellip;&lt;/p&gt;
&lt;p&gt;The component I took for my experiment is a pretty simple Spring application.
It doesn&amp;rsquo;t use Spring Boot.
It exposes a few REST endpoints, and calls couple of webservices over SOAP.
For these webservices, it uses bindings generated by the &lt;a href="https://github.com/highsource/maven-jaxb2-plugin"&gt;JAXB plugin for Maven&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>