-->
Skip to main content

Posts

How to Add Tomcat Server in Eclipse in 2021

How to Add Tomcat Server in Eclipse in 2021 To run web application we need a server to deploy, today we will see how to add Tomcat Server in Eclipse . Earlier we have seen how to create maven web project in eclipse and how to create new maven project in eclipse . Lets Deep dive into our current tutorial  Tools Used: Maven: Required for dependency management in web application. Eclipse: IDE used for development Apache Tomcat Server: Server used to run the web application. JDK14: Language used to develop the application. How to Add Tomcat Server in Eclipse Step by Step Process Step 1: Download Apache Tomcat Server To configure Tomcat Server in eclipse we first need to download it from Apache Tomcat Website . We can download it by going to the  Apache Website . When we click on the link we land on this below page. Apache Tomcat Server Download We need to select tomcat from the core category and according to the window bit type we need to download a zip file, in my case, it'...

Solution : com.fasterxml.jackson.databind.exc.unrecognizedpropertyexception: unrecognized field

com.fasterxml.jackson.databind.exc.unrecognizedpropertyexception: unrecognized field XXX not marked as ignorable This is generic exception  com.fasterxml.jackson.databind.exc.unrecognizedpropertyexception: unrecognized field   XXX not marked as ignorable   people face while parsing JSON string to a custom object.  Exception Trace that comes is generally like com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "year" (class com.example.client.model.Vehicle), not marked as ignorable (4 known properties: "model", "vin", "make", "inventoryId"]) at [Source: [{"inventoryId":14279520,"vin":"abcdefghijklmnop","make":"Toyota","model":"Sienna","year":2011}]; line: 1, column: 95] (through reference chain: java.util.ArrayList[0]->com.example.client.model.Vehicle["year"]) at com.fasterxml.jackson.databind.exc.Unrecognize...

How to Create Maven Web Project in Eclipse in 2021

How to Create Maven Web Project in Eclipse in 2021 In this tutorial, we will see how to create maven web project in eclipse and how to run a maven web project in eclipse . In an earlier post, we have seen how to create new maven project in the eclipse . How to Create Maven Web Project in Eclipse Tools Used:  Apache Tomcat Server , JDK 14, Eclipse  2020-06, Maven. How to Create Maven Web Project in Eclipse Step by Step Step 1:  Create a New Web Project using Maven In this step, we will create a dynamic web project in eclipse with maven. Open Eclipse in your system and then Go to File > New > Maven Project as shown below. Create Maven Web Project in Eclipse Step 2: Select Maven Project Location and Archetype  In the Step, we need to select only Use Default Workspace Location checkbox and untick Create a Simple Project checkbox as we need to select archetype for creating a web project on the next screen. Project Workspace location and Archetype Step 3: Archety...