facebook

Unable to locate struts model extension file

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #265313 Reply

    pmandal
    Participant

    Hi,

    I have installed MyEclipse Enterprise Workbench 5.1.0 GA on windows XP, when I try to open my project I get the following message

    Unable to locate struts model extension file .struts-config.mex
    A new file will be created to retain graphical layout data between modeling sessions

    This has happened whenever I tried to open the project(three times so far), when I checked the directory I see there is a file .struts-config.mex in the WebRoot\WEB-INF

    The project was earlier created in MyEclipse 4.0.3 GA with eclipse version 3.1.1

    Please help.

    thanks
    Pankaj

    #265334 Reply

    Brian Fernandes
    Moderator

    Pankaj,

    The .struts-config.mex file would be created in the same folder as your struts-config.xml file. If you see a file there before opening the struts-config.xml file, but you still get the message, then there is something wrong.
    Could you make a backup of the .mex file and delete the original. Then open the editor move any node around to dirty it and then save. When you open the editor the next time, do you see the same message? Were your layout changes saved?

    I’d also like to see your error log, more instructions here: Posting Guidelines

    #265338 Reply

    pmandal
    Participant

    Brian,

    I opened the project again, this time I did not see the error, it looks like it opened the struts-config.xml using the configuration from the file that was migrated from previous version of MyEclipse, the reason I am saying that is because the design view of the struts-config.xml did not look as organized as it looked last time when eclipse generated it by itself last time.

    I did see a lot of errors in the java doc(html files), which I just got rid of instead of trying to fix it, there were many of them. These errors did not show up last time when I had opened the project earlier, but got the error about the mex file.

    I will update you once I have used the project a little bit more in the new environment.

    If there is anything that I check(file etc), to figure out why the error happened earlier and is not happening now, I will be happy to do that.

    thanks for the help
    Pankaj

    #265369 Reply

    pmandal
    Participant

    Hi Brian,

    I am getting the following error messages. I cannot use the IDE, it keeps showing this error message along with the stack trace.

    thanks
    Pankaj

    Problems occurred restoring workbench.
    Unable to restore perspective: Workspace – Java.
    Internal error activating an Editor.

    Unable to create view: Illegal UFT8 string in constant pool in class file org/eclipse/jdt/ui/refactoring/actions/InlineConstantAction

    I am also getting the following stack trace

    java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at org.eclipse.jdt.ui.actions.InlineAction.<init>(InlineAction.java:65)
    at org.eclipse.jdt.ui.actions.RefactorActionGroup.<init>(RefactorActionGroup.java:368)
    at org.eclipse.jdt.ui.actions.RefactorActionGroup.<init>(RefactorActionGroup.java:195)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.<init>(PackageExplorerActionGroup.java:122)

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Unable to locate struts model extension file

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