Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Could not initialize class flash.util.Trace


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




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,

1 Reply


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.