• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trinidad & Retroweaver-get "NoClassDefFoundError"

Matrix Anderson
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Sir:

According to http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4
I use Retroweaver 2.0.5 and weaved Trinidad 1.0.7 jar file for JDK 1.4 successfully.
Then I put backport-util-concurrent.jar, retroweaver-rt-2.0.5.jar, and ThreadLocal_ class to WEB-INF/lib in my war file, then deploy.

But occurred following exception:

Caused by: java.lang.NoClassDefFoundError: java/util/concurrent/ConcurrentHashMap
at org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase.<init>(RenderKitBase.java:47)
at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.<init>(RenderKitDecorator.java:39)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.<init>(CoreRenderKit.java:168)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:277)
... 42 more

I use MyFaces 1.1.5 for my web application, too.
Could you please help me how to solve it?

Thanks and best regards,

Mark Spritzler
Posts: 17278
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic