java.lang.ClassNotFoundException: on Spring 3 project

I am trying to set up a Spring project without Maven. My project has to serve jsp pages and json streams via Spring MVC framework. Jsp pages' section works well, but when I try to set up json streaming (in order to make ajax GETs) I get


My servletname-servlet.xml is the following:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
xmlns:xsi="" xmlns:p=""
<mvc:annotation-driven />
<context:component-scan base-package="org.package.servletname" />

    <property name="mediaTypes">
            <entry key="atom" value="application/atom+xml" />
            <entry key="html" value="text/html" />
            <entry key="json" value="application/json" />
    <property name="viewResolvers">
            <bean class="org.springframework.web.servlet.view.BeanNameViewResolver" />
                <property name="prefix" value="/WEB-INF/jsp/" />
                <property name="suffix" value=".jsp" />
    <property name="defaultViews">
                class="org.springframework.web.servlet.view.json.MappingJacksonJsonView" />

<mvc:resources mapping="/css/**" location="/css/" />
<mvc:resources mapping="/img/**" location="/img/" />
<mvc:resources mapping="/js/**" location="/js/" />


My controller is the following

package org.package.servletname;

import java.util.LinkedList;
import java.util.List;

import org.package.servletname.orm.*;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

public class JSONGetController
@RequestMapping(value = "/getproducts", method = RequestMethod.GET)
public @ResponseBody
List<Product> JSONGetProducts()
    List<Product> productList = null;
    Product p = new Product();
    productList = new LinkedList<Product>();
    return productList;



Jackson is missing in the classpath

Need Your Help

How can I use generated value within composite keys?

java hibernate orm annotations composite-key

I have two classes documentlog and documentversion(with primary keys: int doc_id and int docVersionID) with a many-to-one relationship. I used a composite key class called CompundKey to manage the

How to loop through json and append inside append

javascript jquery json

I have json list with multiple owner. Each owner has their own list of timers.