title: Error While Editing XHTML Files in Eclipse
body: <p>Whenever I try to edit an xhtml file in eclipse, it shows an internal error:</p>
  
  <p>An internal error occured during "Processing variables for ...xhtml"
  Could not initialize class org.apache.myfaces.shared.config.MyfacesConfig</p>
  
  <p>Is there a way to fix this problem?</p>
  
  <p>Stack trace:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared.config.MyfacesConfig
  at oracle.eclipse.tools.webtier.jsf.facelet.DTFacesConfigurator.configureApplication(DTFacesConfigurator.java:683)
  at oracle.eclipse.tools.webtier.jsf.facelet.DTFacesConfigurator.configure(DTFacesConfigurator.java:414)
  at oracle.eclipse.tools.webtier.jsf.facelet.FaceletCompilerConfigurator.configure(FaceletCompilerConfigurator.java:118)
  at oracle.eclipse.tools.webtier.jsf.facelet.FaceletCompilerConfigurator.configure(FaceletCompilerConfigurator.java:97)
  at oracle.eclipse.tools.webtier.jsf.facelets.OepeFaceletCompiler.createConfig(OepeFaceletCompiler.java:113)
  at oracle.eclipse.tools.webtier.jsf.facelets.OepeFaceletCompiler.compile(OepeFaceletCompiler.java:78)
  at oracle.eclipse.tools.webtier.jsf.facelets.FaceletCompileUtil.ensureContext(FaceletCompileUtil.java:35)
  at oracle.eclipse.tools.webtier.jsf.dependency.discovery.FaceletDiscoveryParticipant.discover(FaceletDiscoveryParticipant.java:267)
  at oracle.eclipse.tools.webtier.jsf.dependency.discovery.FaceletDiscoveryParticipant.discoverFromExistingModel(FaceletDiscoveryParticipant.java:361)
  at oracle.eclipse.tools.application.common.services.variables.VariablesController$DocumentRediscoveryJob.runAfterCommands(VariablesController.java:746)
  at oracle.eclipse.tools.common.services.concurrency.AbstractJob.run(AbstractJob.java:73)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  </code></pre>