Problems upgrading an Embedded Jetty

Logo jetty, maven, spring framework

I recently had to update a legacy project. The basis is Java with the Spring framework and an embedded Jetty. This is started via Maven. After updating the Jetty to the current version, I noticed that the server could no longer be accessed after booting. After some testing, it was clear that the Jetty version 9.4.3 (9.4.3.v20170317) worked fine, but the version 9.4.4 (9.4.4.v20170414) did not. To narrow down the problem, I looked at the output in the console: 9.4.3: 9.4.4: As you can see, neither the configurations are loaded nor the beans are initialized. The next step is to have a look at the changelog of version 9.4.4. There you can find this hint: 1467 Change default for WebAppContext.isConfiguredDiscovered to false And in the corresponding discussion on GitHub one finds out that this change is exactly what prevents the automatic scanning of the configuration. So you […]

Continue Reading

Programming language – the new Babylon

The German industry information service proclaims the most popular programming language in 2016. The winner is: Java. While this was less surprising for ingrained Java developers, especially younger developers will be skeptical about this result. Programming languages were always the subject of religious discussions (You can see that in the comments of the article). But it seems to me that recently these discussions intensified significantly because of the popularity of new languages. If you look back 15 years, there were basically only two languages (at least in web development): Java and PHP. While PHP was used mainly by frontend developers which tend to put SQL statements in the HTML templates Java developers transformed every little project into a mammoth task. Some audacious Microsoft enthusiasts relied on ASP and JavaScript was only used for smaller snippets within the browser clients. Just with the rise of Rails that […]

Continue Reading