• 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
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

XML File- cannot find declaration of element beans  RSS feed

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't figure out where the error is coming from and don't even know what it means.  I am typing it the same as in a tutorial I am looking at.  

 
Marshal
Posts: 62819
203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which tutorial? And what is the error?
 
Nathan Milota
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error is on line 4.  It was a YouTube video introducing Spring concepts.  Any idea what's wrong?  What does it mean declaration of element beans?
 
Campbell Ritchie
Marshal
Posts: 62819
203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Line 4 appears simply to contain a URL. I presume that is a real link. Please tell us which tutorial; there are hundreds of tutorials on YouTube, some good and some bad. Where does it say anything about declarations of element beans?
 
Saloon Keeper
Posts: 2339
293
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Nathan Milota wrote:The error is on line 4.  It was a YouTube video introducing Spring concepts.  Any idea what's wrong?  What does it mean declaration of element beans?


What exactly was the error?  Was there any kind of text description?
 
Sheriff
Posts: 24080
54
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's what the actual Spring documentation says that the <beans> description ought to look like this:



You'll notice that the URL which Campbell commented on is different here; and yes, this one is a real link which points to a schema on the Spring site and yours isn't.

There's a lot of tutorials on the web. Some of them contain obsolete information and (horrors!) their owners haven't fixed that problem.
 
Paul Clapham
Sheriff
Posts: 24080
54
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I forgot: the documentation page I got that from is here.
 
Nathan Milota
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:Here's what the actual Spring documentation says that the <beans> description ought to look like this:



You'll notice that the URL which Campbell commented on is different here; and yes, this one is a real link which points to a schema on the Spring site and yours isn't.

There's a lot of tutorials on the web. Some of them contain obsolete information and (horrors!) their owners haven't fixed that problem.



I copied and pasted it exactly from the website you linked, and it still gives the same error.
 
Nathan Milota
Ranch Hand
Posts: 209
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it to work somehow after copying and pasting the entire declarations.  I'm not sure what I typed differently.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!