Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Could not initialize class flash.util.Trace

Avatar

Former Community Member
Hi, I am trying to run the LCDS 2.51 samples with Tomcat 5.5 on Ubuntu Linux. I am currently receiving the following error whenever I try to click on one of the mxml files from the samples:



java.lang.NoClassDefFoundError: Could not initialize class flash.util.Trace

flex.webtier.util.ServiceUtil.setupFlexService(ServiceUtil.java:63)

flex.webtier.server.j2ee.MxmlServlet.init(MxmlServlet.java:57)

flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:87)



It seems that all required JARs are present in the application's lib directory, and from what I can tell from Google, the class flash.util.Trace doesn't even exist.



Does anyone have any advice here?



Thank you,

Adam
1 Reply

Avatar

Level 3
Hi Adam,



You should have a swfkit.jar in your /WEB-INF/flex/jars/ directory. That's the jar, used by the webtier compiler, that contains flash.util.Trace.



If that's missing you might want to start out with the empty flex.war that the installer lays down, and update with your custom application sources and configuration.



HTH,

Seth