- This topic has 11 replies, 3 voices, and was last updated 14 years, 6 months ago by support-joy.
-
AuthorPosts
-
wshao518ParticipantAfter I downloaded MyEclipse 8.5 by using Pulse and point it to use my 8.0 work space, everything seems fine except some new warning messages come out on my jsp pages. I checked the messages, it’s a warning on a EL expression ${pageContext.request.contextPath}
The warning message is as below:
The declared exception IOException is not actually thrown by the method _elExpression23() from type __2F_test_2F_WebRoot_2F_WEB_2D_INF_2F_content_2F_common_2F_layout_2E_jsp layout.jsp /test/WebRoot/WEB-INF/content/common line 10 JSP ProblemThis doesn’t happen on 8.0 and I tried to look for the latest JEE EL specifications and it looks like this is still right for the latest JEE version. So I am wondering what’s going on. Is it something else I need to update, or it’s really a problem from myeclipse?
Thanks for looking into it.
support-shaliniMemberwshao518,
I could not replicate this at my end. Can you give some more information?
1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
2. If you switch to a new workspace does the issue occur?
support-joyMemberwshao518,
Sorry to hear you are running into this issue. Can you answer few queries for me to get to the root cause?
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
2. How did you install ME 8.5? Using all-in-one installer / pulse / archived update site on top of eclipse classic?
3. Can you perform a refresh of your project containing the said jsp page?
4. I would also recommend you to perform a clean. From MyEclipse IDE – menu options click on Project > Clean and choose clean all projects.
5. If the above doesn’t help, can you open your .log file and look for any relevant errors logged? Your log file is located at [your workspace dir]/.metadata/.log
Let me know how this works for you.
wshao518ParticipantHi,
Thanks for the replies. Here is the installation details:
*** Date:
Tuesday, April 20, 2010 10:47:04 AM PDT** System properties:
OS=Linux
OS version=2.6.30.10-105
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.5
Build id: 8.5-20100319Eclipse startup command=-data
/home/weilis/Workspaces/MyEclipse
-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/home/weilis/Pulse/Profiles/MyEclipse 8.5/myeclipse
-name
Myeclipse
–launcher.library
/home/weilis/Pulse/Profiles/MyEclipse 8.5//../../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so
-startup
/home/weilis/Pulse/Profiles/MyEclipse 8.5//../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
200013
-install
/home/weilis/Pulse/Profiles/MyEclipse 8.5
-configuration
/home/weilis/Pulse/Profiles/MyEclipse 8.5/configuration
-vm
/home/weilis/Pulse/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/javaI did a fresh install of 8.5 through Pulse by adding the profile from popular category and pointed it to my 8.0 workspace. I do get the same error on 2 different Linux machines and I do get the same error after I do a fresh check out a web project or create a new web project within the same workspace. I don’t get this error if I create a new workspace.
I use Maven4eclipse, so the JEE libs are actually from the same Maven repo. And I cannot think of anything caused this at the moment. Thanks.
support-joyMemberwshao518,
Thank you for the installation details. As mentioned earlier by Shalini we cannot reproduce this issue at our end. Can you send out a sample project to support@genuitec.com, please add ATTN:Joy and add the weblink of this post for reference. Please include the steps to replicate, your .log file located at [your workspace dir]/.metadata/.log. This will help us investigate your issue at our end.
Sorry for the inconvenience.
wshao518ParticipantThanks joy. I think it’s not relevant to project, but Workspace. I didn’t see anything in the .log as well as the warning message comes out. I will create a new work space to save all the troubles. It’s just troublesome to setup everything all over again. Anyway, thanks for looking into it.
wshao518ParticipantOK, now I see how to reproduce it, after I setup a new work space and went through all the customization I wanted to do. It’s really a warning of some unnecessary code. Here is now to reproduce it: Preferences -> Java -> Compiler -> Errors / Warnings -> Unnecessary Code -> Unnecessary declaration of thrown exception: -> Warning
Now for the EL expression, it will show you the warning. It doesn’t happen to 8.0. And since Eclipse has this option as ignore as default, you cannot really reproduce it. Now I can reproduce it with new work space and fresh installation of MyEclipse 8.5.
support-joyMemberwshao518,
Thank you for your inputs. I have validated by default ME 8.5 sets the Unnecessary declaration of thrown exception to Ignore. Is there a way, you can share a sample project to replicate this at our end? I will escalate your findings to the dev team members to have this issue investigated further. In the interim, I would recommend you to set the Unnecessary declaration of thrown exception to Ignore.
Best.
wshao518ParticipantHi Joy, could you try turn on the warning on this setting and put this expression ${pageContext.request.contextPath} in any jsp page? I think it’s reproducible in any 8.5 env. I tried on windows and I got it too.
support-joyMemberwshao518,
As suggested by you, I have added the above line to jsp and turned on the warning on the setting “Unnecessary declaration of thrown exception”. I am afraid, I cannot reproduce this at my end.
wshao518ParticipantOh well, I cannot think of anything will help reproduce now. I can zip a brand new project with the EL expression in it, but I really doubt it will help anything. I simply get it as soon as I turn on the warning.
support-joyMemberwshao518,
Please zip a sample project and send it to support@genuitec.com to help us reproduce this issue at our end. Please include ATTN:Joy in the subject and add reference of this weblink, which will help in quick reference.
-
AuthorPosts