Results 1 to 2 of 2

Thread: Error package org.springframework.web.servlet.mvc does not exist

  1. #1
    Join Date
    Oct 2011
    Posts
    7

    Default Error package org.springframework.web.servlet.mvc does not exist

    Hi,

    After following the steps of Sample application building tutorial, I am getting following error. I hv added all the libraries. I am using Java 6 instead of java-5 in tutorial. Can that be a problem???

    C:\JDeveloper\mywork\springapp\ProjectA\src\spring app\web\HelloController.java
    Error(3,43): package org.springframework.web.servlet.mvc does not exist
    Error(5,39): package org.springframework.web.servlet does not exist
    Error(11,34): package org.apache.commons.logging does not exist
    Error(12,34): package org.apache.commons.logging does not exist
    Error(16,41): cannot find symbol
    Error(18,21): cannot find class Log
    Error(20,12): cannot find class ModelAndView
    Error(18,34): cannot find variable LogFactory
    Error(25,20): cannot find class ModelAndView


    PLz help.

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    Hello

    1) use code tags
    2) be sure on your JDeveloper you have include the necessary jars

    I hv added all the libraries
    Check it well again
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •