Duplicate class definition error
Asked Answered
A

1

7

Can anyone help resolve this?

15:02:06,698 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.LinkageError: loader (instance of  org/apache/jasper/servlet/JasperLoader): attempted  duplicate class definition for name: "org/apache/jsp/tag/web/divBox_tag"

[geronimo 2.1, struts 1.2 ]

Argilliferous answered 24/8, 2011 at 14:8 Comment(4)
Need a little more information about your environment. What is your web application server and framework? This is normally caused by non-thread safe class loading in your context.Libenson
Removed salutation: "Thanks in advance", don't do it next timeSmithsonite
@Smithsonite It's called being polite.Argilliferous
Apologies, I was trawling through salutation-removals and forgot to explain... the StackOverflow (simply, SO) community has policies that are democratically driven. Salutations go against policy, for more information: meta.stackexchange.com/questions/2950/…Smithsonite
W
12

Try cleaning the deploy directory of whatever server you're using.

Try cleaning your project/s in the IDE you're using (try F5 the project/s, restart the IDE).

Try cleaning the project/s with the build tool you're using.

Wolfgang answered 24/8, 2011 at 14:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.