facebook

[Closed] can’t open a jsp in either designer

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

    What operating system and version are you running?
    WinXp
    What Eclipse version and build id are you using? (Help > About Eclipse Platform)
    Version: 3.1.0
    Build id: I20050627-1435
    – Was Eclipse freshly installed for MyEclipse?
    (originally yes)
    – If not, was it upgraded to its current version using the update manager?
    yes
    – Are any other external plugins installed?
    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    4.0.2GA
    What JDK version are you using to run Eclipse? (java -version)
    1.5.0_04
    What JDK version are you using to launch your application server?
    1.5.0_04
    What steps did you take that resulted in the issue?
    tried to open a jsp in both designer and classic mode
    What application server are you using?
    tomcat 5.5.9
    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
    no

    ———————
    When I attempt to open a jsp (simply double clicking) I get a tab in my editor saying ‘MyEclipse JSP Designer’ and the file is not there. if I click on that tab, a popup says ‘opening designer…’ but no change. I also tried right clicking and opening with classic and got the same behavior.

    This behavior started as soon as I upgraded to 4.0.2GA this morning.

    #239089 Reply

    Riyad Kalla
    Member

    If you shut down MyEclipse and restart with -clean on your command line, does it work? What command line arguments are you using for memory allocation to MyEclipse?

    What if you do File > Switch Workspace > C:\testworkspace, hit OK. Now create a web project and drop a new JSP file in it and open it, did it work?

    #239133 Reply

    my command line args: -vmargs -Xmx512M -Dosgi.splashLocation=”C:\devtools\MyEclipse\eclipse\MyEclipseSplash.bmp”

    I added -clean and had the same results.

    I did file > switch workspace > c:\testwrkspace, created a new project and did new jsp. I got an alert saying “The selected wizard could not be started. Reason: Plug-in com.genuitec.eclipse.wizards was unable to load class com.aston.wizards.jsp.NewJspCreationWizard

    I copied a jsp into the project and attempted to open it. I got the same behavior as originally reported.

    #239134 Reply

    after I added the -clean I am now seeing exceptions in my log file. basically it is a bunch of java.lang.NoClassDefFoundError: exceptions. Did the upgrade fail to download a package or two?

    is there a way to email or attach the log file rather than paste it?

    #239141 Reply

    Riyad Kalla
    Member

    Before you email a log file, let’s try a quick sanity check with a parallel install of Eclipse and MyEclipse. Please redownlaod Eclipse 3.1.1 SDK from Eclipse.org and MyEclipse 4.0.2 GA from our site, then reinstall them both to new locations, fire it up and try editing a new JSP file. Did that work?

    As far as the upgrade not downloading all the files, did you notice a failure while the update was applying? It’s hard to say, but anything is surely possible. However if the fix here is a clean reinstall (don’t worry all your settings are in your workspace) then let’s do that first and get this fixed for you as fast as possible.

    #239148 Reply

    No, I did not notice any errors during the update. Everything seemed to update fine.

    ok, the sanity check worked. I did a fresh install of eclipse 3.1.1 and myeclipse 4.0.2 GA and everything worked as expected. While I am glad this worked, I sure would hope that I don’t have to do that for every update of myeclipse. 🙂

    #239156 Reply

    Riyad Kalla
    Member

    While I am glad this worked, I sure would hope that I don’t have to do that for every update of myeclipse. 🙂

    That was become a critical issue in our eyes, when we release new versions we always use the Update mechanism internally for our own workspaces to make sure it works, and for us it worked, but that is not to say it will work for everyone, even the smallest change on a user setup might be an issue.

    I am glad it is working now though.

    #239292 Reply

    anderma8
    Member

    I’m having a similar issue. I uninstalled myeclipse and reinstalled on an XP machine. then removed the eclipse 3.1.0. I downloaded the most recent versions (3.1.1 & 4.0 tonight 10/12). Everything seems to have installed correctly but I still can not get the jsp to open in JSP Designer. Also, the JSP’s open up in classic with no problem.

    I’ve been reading as many posts as I can but I have not found what I’m doing wrong…

    #239315 Reply

    Riyad Kalla
    Member

    anderma8,
    Sorry to hear you are having problems. Please give us more details, “can not get the JSP to open” could be a whole slew of issues, please tell us exactly what you are doing, and what is happening. Also please post your config information from the Myeclipse > About MyEclipse menu.

    #239802 Reply

    anderma8
    Member

    Hi, I’ve been trying to correct this when I get time so sorry for my delay in response.
    I ended up performing a search/replace on several of the JSP’s and now when I attempt to search them in MyEclipse, I get an error indicating that they are out of sync. I can only open them individually and only when I select ‘classic’ JSP Editor.

    Config info:
    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_09

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-data
    C:\projectWorkspace\myTestSpace_40
    -os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    ba4_64
    -vm
    C:\WINNT\system32\javaw.exe

    #239819 Reply

    Riyad Kalla
    Member

    Right click on your project root and do a Refresh.

    #239872 Reply

    anderma8
    Member

    I wish it were that easy! When I did that, I continue to get the same behavior: When opening the jsp in the JSP Designer mode, the page comes up completely blank. If the default is JSP Designer, then I have to right click and select JSP Classic. Any suggestions? I reinstalled both MyEclipse and Eclipse but get the same behavior.

    #239875 Reply

    Riyad Kalla
    Member

    First try a new workspace and see if the flakiness goes away: File > Switch Workspace > C:\tempworkspace, hit OK. Now create a new web project, does it work? Try and import some of your files from y our old project, and open them, they still working?

    #239878 Reply

    anderma8
    Member

    I created a new project in a new workspace and even created a new JSP. Same results.

    #239880 Reply

    Riyad Kalla
    Member

    Let’s check your log file for exceptions: <workspace dir>\.metadata\.log

Viewing 15 posts - 1 through 15 (of 20 total)
Reply To: [Closed] can’t open a jsp in either designer

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