Hi, On Fri, Apr 11, 2008 at 6:04 AM, liny <[EMAIL PROTECTED]> wrote: > > Hi, Sir: > > According to http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4 > 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,
Hi, http://repo1.maven.org/maven2/backport-util-concurrent/backport-util-concurrent/3.1/ has the class under its package, so it wasn't successful in your case (still the java.util package is used) but... we have already a maven profile to retotranslate. jdk14-compatible is the name of our profile -M > > liny > -- > View this message in context: > http://www.nabble.com/-Trinidad--Retroweaver-Still-get-%22java.lang.NoClassDefFoundError%22-tp16624712p16624712.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

