Q:

Tomcat Class Not Found - Servlet

I am having a strange problem in deploying a basic web app through Eclipse and Tomcat
The error - 
SEVERE: Allocate exception for servlet DeCommServlet

java.lang.ClassNotFoundException: com.authentication.DeCommServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)

However, the application still gets to the DeCommServlet doPost() method and tomcat stays deployed but with that error.
Servlet:
    <servlet>
    <servlet-name>DeCommServlet</servlet-name>
    <servlet-class>com.authentication.DeCommServlet</servlet-class>
</servlet> 

<!--  Servlet Mappings -->

<servlet-mapping>
    <servlet-name>DeCommServlet</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping> 

The servlet class is the correct link but still getting this error. I have nothing in any of the lib folders, but in the application properties I have the Apache Tomcat Lib added in Build Path >> Libraries
Has anyone seen this before? 
Code for DeCommServlet:
@WebServlet("/DeCommServlet")
public class DeCommServlet extends HttpServlet {
private static final long serialVersionUID = 1L;

/**
 * @see HttpServlet#HttpServlet()
 */
public DeCommServlet() {
    super();
    // TODO Auto-generated constructor stub
}

/**
 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
 *      response)
 */
protected void doGet(HttpServletRequest request,
        HttpServletResponse response) throws ServletException, IOException {
    // TODO Auto-generated method stub
    System.out.println("sdf");
    System.out.println("ddd");
}

/**
 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse
 *      response)
 */
protected void doPost(HttpServletRequest request,
        HttpServletResponse response) throws ServletException, IOException {
    // TODO Auto-generated method stub
    request.getUserPrincipal().getName();   
    response.sendRedirect("http://www.google.com"); 
}

New Class Path1

A:

It was the deployment assembly that was causing the issue. Added the lib folder and we are good to go! Thanks

