<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Akanksha Soni</title>
    <description>The latest articles on DEV Community by Akanksha Soni (@akanksha_soni_fef78545fe7).</description>
    <link>https://dev.to/akanksha_soni_fef78545fe7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3709684%2F10808575-6218-447d-8d9e-db348903025a.png</url>
      <title>DEV Community: Akanksha Soni</title>
      <link>https://dev.to/akanksha_soni_fef78545fe7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akanksha_soni_fef78545fe7"/>
    <language>en</language>
    <item>
      <title>I Kept Seeing These Spring Boot Errors — Until I Learned This</title>
      <dc:creator>Akanksha Soni</dc:creator>
      <pubDate>Thu, 22 Jan 2026 17:01:08 +0000</pubDate>
      <link>https://dev.to/akanksha_soni_fef78545fe7/i-kept-seeing-these-spring-boot-errors-until-i-learned-this-120o</link>
      <guid>https://dev.to/akanksha_soni_fef78545fe7/i-kept-seeing-these-spring-boot-errors-until-i-learned-this-120o</guid>
      <description>&lt;p&gt;Spring Boot makes backend development faster and cleaner, but when something breaks, the error logs can feel overwhelming—especially if you’re new to the framework.&lt;/p&gt;

&lt;p&gt;In this post, I’ll walk through some common Spring Boot errors I’ve personally encountered, show realistic error logs, explain why they happen, and share practical fixes that actually work. This guide is aimed at beginner to intermediate developers who want to debug Spring Boot applications with confidence.&lt;/p&gt;

&lt;p&gt;1️⃣ Port Already in Use&lt;br&gt;
🔴 Error Log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`Web server failed to start. Port 8080 was already in use.`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🤔 Why this happens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Another application is already running on port 8080&lt;/li&gt;
&lt;li&gt;A previous Spring Boot instance didn’t shut down properly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;p&gt;Option 1: Stop the running process&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Find the process using port 8080 and stop it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Option 2: Change the application port&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;server.port=8081
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧠 Tip&lt;/p&gt;

&lt;p&gt;Always make sure old instances of your application are stopped before restarting.&lt;/p&gt;

&lt;p&gt;2️⃣ BeanCreationException&lt;br&gt;
🔴 Error Log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`Error creating bean with name 'userService':
Unsatisfied dependency expressed through field 'userRepository'`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🤔 Why this happens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Missing Spring annotations like @Service, @Repository, or @Component&lt;/li&gt;
&lt;li&gt;Circular dependencies between beans&lt;/li&gt;
&lt;li&gt;Package scanning issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ensure correct annotations are present&lt;/li&gt;
&lt;li&gt;Verify your package structure&lt;/li&gt;
&lt;li&gt;Avoid circular dependencies
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@Service
public class UserService {
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3️⃣ NullPointerException&lt;br&gt;
🔴 Error Log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;java.lang.NullPointerException: Cannot invoke "User.getId()" because "user" is null
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🤔 Why this happens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Object was never initialized&lt;/li&gt;
&lt;li&gt;Repository returned null&lt;/li&gt;
&lt;li&gt;Missing validation or null checks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Validate inputs&lt;/li&gt;
&lt;li&gt;Use Optional when fetching data
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Optional&amp;lt;User&amp;gt; user = userRepository.findById(id);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🧠 Tip&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Never assume data exists—always handle the null case explicitly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;4️⃣ Failed to Configure a DataSource&lt;br&gt;
🔴 Error Log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Failed to configure a DataSource: 'url' attribute is not specified
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🤔 Why this happens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database credentials are missing&lt;/li&gt;
&lt;li&gt;Database server is not running&lt;/li&gt;
&lt;li&gt;Incorrect driver dependency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check your application.properties or application.yml:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;spring.datasource.url=jdbc:mysql://localhost:3306/testdb
spring.datasource.username=root
spring.datasource.password=password
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5️⃣ 404 Error for Controller APIs&lt;br&gt;
🔴 Error Log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;No mapping found for HTTP request
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🤔 Why this happens&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Incorrect API URL&lt;/li&gt;
&lt;li&gt;Missing @RestController&lt;/li&gt;
&lt;li&gt;Wrong HTTP method used&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make sure your controller is properly annotated:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@RestController
@RequestMapping("/api/users")
public class UserController {
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6️⃣ How to Read Spring Boot Logs Effectively&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Spring Boot logs can be noisy, but you don’t need to read everything.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✅ Focus on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The first Caused by message&lt;/li&gt;
&lt;li&gt;The exception name&lt;/li&gt;
&lt;li&gt;The line number in your code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🚫 Ignore:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repeated stack trace lines&lt;/li&gt;
&lt;li&gt;Framework internals unless required&lt;/li&gt;
&lt;li&gt;Learning how to read logs properly will save you hours of debugging time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🏁 Conclusion&lt;/p&gt;

&lt;p&gt;Errors are not a sign that you’re bad at Spring Boot—they’re part of the learning process.&lt;/p&gt;

&lt;p&gt;The key is understanding why an error occurs, knowing where to look in the logs, and applying a systematic fix. Over time, debugging becomes less frustrating and more intuitive.&lt;/p&gt;

&lt;p&gt;If this post helped you, feel free to share the most confusing Spring Boot error you’ve faced in the comments 👇&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>java</category>
      <category>backend</category>
      <category>debug</category>
    </item>
    <item>
      <title>🤖 CodeMentor AI — An AI-Powered Code Review Tool</title>
      <dc:creator>Akanksha Soni</dc:creator>
      <pubDate>Wed, 14 Jan 2026 04:22:45 +0000</pubDate>
      <link>https://dev.to/akanksha_soni_fef78545fe7/codementor-ai-an-ai-powered-code-review-tool-2j75</link>
      <guid>https://dev.to/akanksha_soni_fef78545fe7/codementor-ai-an-ai-powered-code-review-tool-2j75</guid>
      <description>&lt;p&gt;CodeMentor AI is a web-based, AI-powered code review tool designed to help developers instantly analyze code, identify issues, and learn best practices—all in one place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem Statement&lt;/strong&gt;&lt;br&gt;
As developers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We don’t always get quick feedback on our code&lt;/li&gt;
&lt;li&gt;Bugs, inefficiencies, and bad practices are easy to miss&lt;/li&gt;
&lt;li&gt;Manual code reviews take time and depend on availability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeMentor AI solves this by providing instant, actionable feedback using AI—helping developers learn and improve faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code Input &amp;amp; Preview&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Paste your code snippet directly into the editor&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2dritpo0ki84le3y9m2j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2dritpo0ki84le3y9m2j.png" alt="Code Snippet" width="800" height="650"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI-Powered Code Review&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With one click, CodeMentor AI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detects potential errors and bad practices&lt;/li&gt;
&lt;li&gt;Suggests cleaner and more efficient code&lt;/li&gt;
&lt;li&gt;Highlights performance improvements&lt;/li&gt;
&lt;li&gt;Provides improved code examples&lt;/li&gt;
&lt;li&gt;The feedback is clear, structured, and beginner-friendly.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8o12q6u9xg3yj64g5ze5.png" alt="Code Review" width="798" height="633"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How It Works (High-Level)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User Code Input
      ↓
Frontend UI
      ↓
AI Code Analysis Engine
      ↓
Structured Feedback + Suggestions
      ↓
Optional PDF Export
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The system is designed to be lightweight, fast, and easy to deploy locally or online.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;📂 &lt;a href="https://github.com/Akankshasoni30/AI-Augmented-Code-Reviewer" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🎥 &lt;a href="https://www.youtube.com/watch?si=zIpQNi7ioIUUpPVw&amp;amp;v=uNpKUUlIoM4&amp;amp;feature=youtu.be" rel="noopener noreferrer"&gt;Video&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CodeMentor AI is built to make code reviews faster, smarter, and more accessible.&lt;br&gt;
It demonstrates how AI can assist developers not just by generating code, but by teaching and improving code quality.&lt;/p&gt;

&lt;p&gt;Thanks for reading! 👋&lt;/p&gt;

</description>
      <category>ai</category>
      <category>javascript</category>
      <category>developers</category>
      <category>googlegemi</category>
    </item>
    <item>
      <title>Kira — Full-Stack Task &amp; Project Management System</title>
      <dc:creator>Akanksha Soni</dc:creator>
      <pubDate>Wed, 14 Jan 2026 03:04:03 +0000</pubDate>
      <link>https://dev.to/akanksha_soni_fef78545fe7/kira-full-stack-task-project-management-system-3m2j</link>
      <guid>https://dev.to/akanksha_soni_fef78545fe7/kira-full-stack-task-project-management-system-3m2j</guid>
      <description>&lt;p&gt;Kira is a full-stack task and project management web application designed to help teams track work efficiently with role-based access, visual dashboards, Kanban workflow, and automated email notifications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JWT Authentication with Admin / User roles&lt;/li&gt;
&lt;li&gt;Dashboards with task status &amp;amp; priority charts&lt;/li&gt;
&lt;li&gt;Projects &amp;amp; Tasks — full CRUD, filters, CSV/Excel export&lt;/li&gt;
&lt;li&gt; Kanban Board — drag &amp;amp; drop status updates&lt;/li&gt;
&lt;li&gt; Email Notifications when tasks are assigned&lt;/li&gt;
&lt;li&gt; Dark / Light Theme, responsive UI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;System Design (High Level)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`Vue.js + Vuetify (Frontend)
   ↓ REST (Axios)
Spring Boot (Backend)
   ↓ JPA / Hibernate
MySQL Database
   ↓
JavaMail → Email Notification`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;JWT secures protected APIs&lt;/li&gt;
&lt;li&gt;Role-based access handled at backend&lt;/li&gt;
&lt;li&gt;Kanban updates sync with dashboards in real time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Screenshots&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fii5hnbw5tk9558r4p1ju.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fii5hnbw5tk9558r4p1ju.png" alt="Login Page" width="800" height="335"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8e6j0m98xp718l44hei.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8e6j0m98xp718l44hei.png" alt="Dashboard page" width="800" height="366"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffvtkls4rrf3qesu57lhv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffvtkls4rrf3qesu57lhv.png" alt="Task manage" width="800" height="363"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc08qngdg1isniu0ec1b7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc08qngdg1isniu0ec1b7.png" alt="Proje" width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/Akankshasoni30/Kira---Project-and-Task-Manager" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;
&lt;a href="https://www.youtube.com/watch?v=iDJpNhDp6xk" rel="noopener noreferrer"&gt;Video&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Closing&lt;/strong&gt;&lt;br&gt;
Kira showcases production-style full-stack development, combining secure authentication, analytics dashboards, Kanban workflows, and backend email automation in a single system.&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>fullstack</category>
      <category>webdev</category>
      <category>java</category>
    </item>
  </channel>
</rss>
