- This topic has 3 replies, 2 voices, and was last updated 20 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
mikeyearlingMemberAfter upgrading to 3.8.1 and reading every thread to make sure I have the very latest version, I still can’t open any jsp’s in the WEB-INF folder without getting the ‘can’t open part’ message (these files also share another thing in common: they all have a ‘<%@ include file=”IncludeTop.jsp” %>’ directive at the top of their files).
I’ve done everything – started with the ‘-clean’ arg, threw away the ‘.log’ file, threw away the configuration folder – and still nothing works. My version number reads: “3.8.1+QF20040825”. I also added my webroot folder to the java build path – still no go.
If I try to comment out the include directive using a text editor, I get An ‘internal error occurred during: “Update JSP Index”‘ immediately upon saving.
I’m only using MyEclipse for its jsp editor at the moment. I haven’t set up the web application through MyEclipse so I’m using my own folder structure, as follows:
src/
war/WEB-INF/jsp/My error.jsp file at the top level of the ‘war’ folder opens fine, but nothing in WEB-INF does. It worked before I upgraded.
Thanks-
System Setup ——————————-
Operating System and version: Mac OS 10.3.3
Eclipse version: 3.0.0
Eclipse build id: 200406251208
Fresh Eclipse install (y/n): n
If not, was it upgraded to its current version using the update manager? n
Other installed external plugins: spring, hibernate sychronizer
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
MyEclipse version: 3.8.1
Eclipse JDK version: JVM 1.4.2 (MacOS X Default)
Application Server JDK version: same
Are there any exceptions in the Eclipse log file?–An internal error occurred during: “Update JSP Index”.
–Unable to restore editor – no editor descriptor for id: com.genuitec.eclipse.webdesigner.jspeditor
– Message Body ——————————-
Riyad KallaMemberThis is a known problem when using ME with non-web projects. Make sure the /war directory is in your source path if you cannot convert the project to a web project. Or the best workaround is to add web project capabilities and set “war” as your webroot folder. This won’t change anything about your project (except add a web.xml file if you don’t already have one), it just sets up the project structure for ME to “understand” it better.
mikeyearlingMemberThanks, Riyad. It’s fixed. I added web project capabilities and set ‘war’ as the webroot. That was easy!
Riyad KallaMemberGlad to hear it worked!
-
AuthorPosts