Duplicate entries were found for taglib-uri

C

cliveswan

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>
 
C

Chris Smith

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>

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?
 
C

cliveswan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top