facebook

java.lang.NoClassDefFoundError: org/eclipse/swt/browser/Mozi

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #255985 Reply

    Geoff Austin
    Participant

    This is hopefully easy?

    I’m new to eclipse & myeclipse, installed them both today. Tried to create a new jsp and got the following error log entry: Problems occurred when invoking code from plug-in: “org.eclipse.jface”.

    I have included the first few lines of the StackTrace below:

    java.lang.NoClassDefFoundError: org/eclipse/swt/browser/MozillaBrowser
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.jav

    #255988

    Geoff Austin
    Participant

    OK, I found the problem in the install section of the forum, sorry for the unecessay post

    #255989

    udaikumar
    Member

    What is the solution for this?

    #255992

    Geoff Austin
    Participant

    change the shortcut that starts eclipse and add a -clean to it, then restart… You can remove the clean after the first restart.

    #263477

    lxsgoodluck
    Member

    delete these files under configuration but not include config.ini
    after restart myeclipse

    #263576

    Greg
    Member

    In the latest version of MyEclipse (version 5.1.0), we detect this situation automatically and will perform the “-clean” and restart for you.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: java.lang.NoClassDefFoundError: org/eclipse/swt/browser/Mozi

You must be logged in to post in the forum log in