• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • 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
  • 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
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
It's Resolved...

Thanks for the Concern ...
 
Forget Steve. Look at this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!