Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Duplicate entries were found for taglib-uri

Thread view: 
cliveswan@yahoo.co.uk - 26 Jun 2006 01:16 GMT
Hi,

Trying to get Hibernate & struts working.
Getting a duplicate "entries were found for taglib-uri"??????

Thanks

clive

Error(6): Duplicate entries were found for taglib-uri
"/WEB-INF/struts-bean.tld".  Ensure that only one entry is specified
per taglib-uri in web.xml.

I have looked through struts-bean.tld (hundreds of lines. Don't see any
duplicates
Am i mising anything???

Looked at the web.xml code, it ends:
<taglib>
   <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
   <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
 </taglib>
 <taglib>
   <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
   <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
 </taglib>
 <taglib>
   <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
   <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
 </taglib>
 <taglib>

   <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<< Is this meant to be
  <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>  << OR
duplicate
 </taglib>
Chris Smith - 26 Jun 2006 06:38 GMT
> Looked at the web.xml code, it ends:
> <taglib>
[quoted text clipped - 16 lines]
> duplicate
>   </taglib>

If struts-bean.tld is in there twice, then remove one of them.  This is
very clear to me from the error message; is there something that's
confusing you about it?

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

cliveswan@yahoo.co.uk - 26 Jun 2006 15:31 GMT
Hi Chris,

First time I have used this, not sure about the format.
In html you have <body> </body>

Just nervous about deleting things, not sure why they are there
or what they do!!!

Cheers

Clive


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.