Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Unexpected element &quot {antlib:org:apache:tools:ant}beans Error

 
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm using the Spring framework 3.0.5 and have a user library consisting of all the spring jars created in Eclipse.

I had created a project earlier and had a configuration file called 'spring.xml' defined in it.
The project ran fine.
Today, I changed the unzipped folder location of spring and then created the user library again based on new location.
But now as I create a configuration file using the same steps I had last week, I get the error "Unexpected element " {antlib:org:apache:tools:ant}beans."



I get the error before </beans> tag.
It means the tag <beans> is not valid, I also tried out changing the location of the config file , moved it in and out of the classpath but didn't help.

Please advise.
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!