Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

404 Error When Using Spring + Hibernate in My Project.

 
Ranch Hand
Posts: 105
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I am Doing a Simple Spring and Hibernate Integration Project, But I am Getting 404 error..

I am putting all my codes and project structure and error ...

Please Help Me out ..

Seriously I am Feeling frustrated..

EmployeeBean.java


EmployeeController.java



EmployeeDao.java

EmployeeDaoImpl.java


Employee.java


EmployeeService.java


EmployeeServiceImpl.java



database.properties


addEmployee.jsp

employeeList.jsp


index.jsp



Web.xml


sdnext-servlet.xml




This Was My All Code now i am putting the project structure and the error messege... Please Help !!!

Project-Structure-1.JPG
[Thumbnail for Project-Structure-1.JPG]
Project Structure.
Project-Structure-2.JPG
[Thumbnail for Project-Structure-2.JPG]
Project Structure.
Error.JPG
[Thumbnail for Error.JPG]
Error in Jboss Server.
 
Ranch Hand
Posts: 491
5
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at the server log to see what type of exception.
 
Rohit Kumar Singh
Ranch Hand
Posts: 105
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Exception is,
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 11 in XML document from ServletContext resource [/WEB-INF/config/sdnext-servlet.xml]


But I dont know from where it is arising ...

Please check my sdnext-servlet.xml file..

BTW thanks for the reply
 
H Paul
Ranch Hand
Posts: 491
5
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any time I got an exception and could not find out myself after reading over the exception stack.
I just google which leads me same exception posted by other people. The causes are there. Just Google.
 
Rohit Kumar Singh
Ranch Hand
Posts: 105
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's Resolved...

Thanks for the Concern ...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic