[SOLVED] – Spring Boot: Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.

The title message roughly means that something went wrong when you started the Spring Boot application. Very often the cause can be diagnosed in a few minuets by analyzing the application log. In the following article we will discuss some of the most common causes of errors when starting the Spring context.

Continue Reading [SOLVED] – Spring Boot: Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.

[SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR:

Here you can find the solution for a problem: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR exception The problem When you invoke a web service you got the exception like below: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node…

Continue Reading [SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR:

DL4J: How to create a neural network that draws images – Step by step guide

Neural networks, machine learning, artificial intelligence - I get the impression that these slogans attack us from everywhere. They are mainly associated with the giants of the IT industry, who from time to time report spectacular progress in this field. I decided to dispel myths about machine learning using a series of articles explaining this problem by interesting examples. In this article, I will show you how to build and learn a neural network to generate one image based on another step by step.

Continue Reading DL4J: How to create a neural network that draws images – Step by step guide

Machine Learning – JavaFX + Spring Boot + DL4J application template

I want to share with you the application that will allow you to effectively start the journey through the world of artificial neural networks. The goal of the template will be to provide the Graphical User Interface and organize the application code in a way that allows you to focus only on issues related to machine learning. The GUI will be written using JavaFX and Spring Boot frameworks. We will use a Java distributed computing library, called DL4J as the main machine learning framework.

Continue Reading Machine Learning – JavaFX + Spring Boot + DL4J application template

JavaFx + Spring Boot + Gradle: Project Setup guide and test

I am pleased to introduce you to three actors of today’s performance. Each of them is a master in his field, but together they create something very powerful. So there are of course JavaFX, Spring Boot and Gradle. See what the project configuration looks like from scratch.

Continue Reading JavaFx + Spring Boot + Gradle: Project Setup guide and test

Spring @PostConstruct and @PreDestroy alternatives in Java 11, Java 10, Java 9

Both @PostConstruct and @PreDestroy annotations (often used in spring applications) are located in java.xml.ws.annotation package which is a part of  Java EE module. J2EE has been deprecated in Java 9 and it’s scheduled to be removed in Java 11. Let’s look how to run your application without errors again in two approaches: with and without code modification.

(more…)

Continue Reading Spring @PostConstruct and @PreDestroy alternatives in Java 11, Java 10, Java 9