I recently we faced an issue in my Drools Config class where we added config for kie container and kie modules. It was working fine in normal windows server environment but we migrated our app into docker environment we faced below error. When running our Java Spring Boot app (Fat Jar) on Docker Environment we … Continue reading Error: kie.container or kieModule bean – Null Pointer Exception? Solved!
Category: Spring
Spring Boot-Series Part 3: Deep Dive into Application Class
Application class in Spring boot is used to bootstrap and launch the Spring application from a Java main method. This class automatically creates the ApplicationContext from the classpath, it scans the configuration classes and launches the application.
Spring Boot-Series Part 2: What is pom.xml in a maven based Spring Project?
The full form of POM is Project Object Model. It is a fundamental unit of work in Maven. pom is a XML file that contains information about the project and configuration details used by Maven to build the project.
certs not found: Java/Spring boot in eclipse and STS exception [SOLVED]
How to solve JDK certificate error in sping MVC/Boot inside Eclipse and STS.
Tomcat Started in Eclipse but showing Connection refused in browser – Error Solved!
I recently was building an old application in eclipse and came across a hurdle while publishing my Spring MVC based java application on tomcat server. The error was nothing! That strange beacause tomcat was started in eclipse and in console it was showing server startup status. But when I hit localhost:8080 in my browser the … Continue reading Tomcat Started in Eclipse but showing Connection refused in browser – Error Solved!
Context Initialization failed – Java – Spring MVC Solved!
Check which version spring MVC libraries are you using. If you re using Spring MVC 3 then prefer install Java 7 with tomcat version 7.0.92.
Java-Spring or JavaScript-Node.js?
Spring Framework for Java has been around past 15 years since its initial release. Most of the web developers prefer spring to build enterprise level web apps. But since last 3-4 years the Javascript has become more popular not only in the client-side development(Angular and React) but also towards the server-side development, thanks to nodejs. … Continue reading Java-Spring or JavaScript-Node.js?
Why Spring Framework?
Spring Framework is a powerful lightweight web application development framework used for Java Enterprise Edition (JAVAEE). Spring is described as a complete and a modular framework. The Spring Framework can be used in all layers of implementation of a real time application. It can also be used for the development of particular layer of a … Continue reading Why Spring Framework?
Understanding Spring MVC project setup
Flow Diagram of Spring MVC Img Source: TutorialsPoint Purpose of web.xml Until Spring 3.1 the only way to configure the DispatcherServlet was with the WEB-INF/web.xml file. servlet name is dispatcher an instance of DispatcherServlet Class Will be initialized with a parameter named contextConfigLocation which contains the path to the configuration XML load-on-startup is an integer … Continue reading Understanding Spring MVC project setup
Spring MVC Project: Setup
Software Requirements Eclipse Mars 2 Java, jdk 1.6 and above Spring 4 jar files(download) Apache Tomcat 7 Step 1: Create a Dynamic Web Project(File>New>Dynamic Web Project) Step 2: Create project folder and packages as shown below Step 3: Add required Spring MVC libs Step 4: Add following code in web.xml Step 5: Add following code … Continue reading Spring MVC Project: Setup