Not a valid class file (no CAFEBABE header)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17489

  • via Google Groups by Ben Szekely, 6 months ago
    Not a valid class file (no CAFEBABE header)
  • via Google Groups by, 6 months ago
    Not a valid class file (no CAFEBABE header)
  • via Stack Overflow by Unknown author, 1 year ago
    Invalid header signature; read 0x04090000002DA5DB, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid OLE2 document
  • Stack trace

    • Not a valid class file (no CAFEBABE header) at aQute.lib.osgi.Clazz.parseClassFile( at aQute.lib.osgi.Clazz.<init>( at aQute.lib.osgi.Processor.analyzeJar( at aQute.lib.osgi.Processor.analyzeBundleClasspath( at aQute.lib.osgi.Verifier.verify( at aQute.lib.osgi.Builder.doVerify( at at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle( at org.apache.felix.bundleplugin.BundlePlugin.execute( at org.apache.felix.bundleplugin.BundlePlugin.execute( at org.apache.felix.bundleplugin.BundlePlugin.execute( at org.apache.maven.plugin.DefaultPluginManager.executeMojo( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( at org.apache.maven.DefaultMaven.doExecute( at org.apache.maven.DefaultMaven.execute( at org.apache.maven.cli.MavenCli.main( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.codehaus.classworlds.Launcher.launchEnhanced( at org.codehaus.classworlds.Launcher.launch( at org.codehaus.classworlds.Launcher.mainWithExitCode( at org.codehaus.classworlds.Launcher.main([ERROR]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.