PDA

View Full Version : No Spring bean config found in file [absolute_path\web.xml]



nibhatta
May 31st, 2006, 10:36 AM
My eclipse ide is showing the error:

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

Torsten Juergeleit
Jun 7th, 2006, 03:20 PM
What does this error mean?
It means your web.xml is not a valid BeansConfig (http://springide.org/project/wiki/BeansConfig) file. Spring IDE only cares about these kind of XML files.

Torsten

Michel_A
May 3rd, 2007, 09:45 AM
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...

steven_dauw
Jul 31st, 2007, 02:08 AM
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 ?

loteq
Jun 25th, 2008, 10:40 AM
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 :confused:

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

Can anyone help?