We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. 🙂 Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
Tag: eclipse
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.
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.
Tomcat: Request Header too large? Resolved!
While working on web applications, developers face common server errors and exceptions in java based web application for example java.lang.IllegalArgumentException.
Parsing JSON Output using JAVA
Use the JSONParser methods to parse a response that's returned from a call to an external service that is in JSON format, such as a JSON-encoded response of a Web service callout. Here is the code to parse the JSON string using JAVA: 1 2 3 4 5 6 7 8 9 10 11 12 … Continue reading Parsing JSON Output using JAVA
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