Announcement Announcement Module
Collapse
No announcement yet.
No Spring bean config found in file [absolute_path\web.xml] Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No Spring bean config found in file [absolute_path\web.xml]

    My eclipse ide is showing the error:
    Code:
    No Spring bean config found in file [absolute_path\web.xml]
    on the web.xml file.

    I have added Spring Nature to the project and have an applicationContext.xml file in the WEB-INF directory as well as a myproject-servlet.xml in the same location.

    What does this error mean?

    Thanks!
    Nik

  • #2
    Originally posted by nibhatta
    What does this error mean?
    It means your web.xml is not a valid BeansConfig file. Spring IDE only cares about these kind of XML files.

    Torsten

    Comment


    • #3
      It means your web.xml is not a valid BeansConfig file. Spring IDE only cares about these kind of XML files.
      Which means, in a clear understandable language, that in your project properties, under the Spring option, you should remove web.xml from the list...

      Comment


      • #4
        Originally posted by Michel_A View Post
        Which means, in a clear understandable language, that in your project properties, under the Spring option, you should remove web.xml from the list...
        After doing that , the error seems not to disappear. Is there any possibility of reseting that ?

        Comment


        • #5
          No Spring bean config found in file...

          Hi,

          I have the same error. I am a spring newcomer but i'm pretty sure that my spring file is correct
          I get this error when I add the spring-security xmlns

          I can't paste my xml file here because of the forum rules

          The parser sees URLs and refuses me to post an entry with URLs

          Can anyone help?

          Comment

          Working...
          X