Announcement Announcement Module
Collapse
No announcement yet.
Nead help to fix error in maven project with spring framework Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nead help to fix error in maven project with spring framework

    Hi i am new in java i make my first maven project using spring framework eclipse.My web.xml file is
    CODE:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

    <display-name>sunj2ee</display-name>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    I make index.jsp file inside WEB-INF folder i deployed war file in Tom Web Application Manager i successfully did it and in my running column it shows true but when i am trying to run application it shows me following error can any one plz troubleshoot this problem.




    HTTP Status 404 - /sunshine%2D0.0.1%2DSNAPSHOT/

    type Status report

    message /sunshine%2D0.0.1%2DSNAPSHOT/

    description The requested resource is not available.
    Apache Tomcat/6.0.36

  • #2
    Don't put index.jsp in WEB-INF it needs to be in the root (same level as WEB-INF) of your war file.

    Comment


    • #3
      thank u so much you solved my problem i spend all most 5 hours on that thanks again

      Comment

      Working...
      X