For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 2 replies, 2 voices, and was last updated 19 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
singhhMemberHi,
I have recently upgraded Eclipse to 3.2.1, MyEclipse to 5.0.1 GA, and JDK to 1.5.
A project that was getting compiled perfectly in the previous IDE of MyEclipse is now trowing compliation error in JSPs. It’s complaining about all the STRUTS / JSTL tags used in the JSPs.
If I take the below declaration out of the <![CDATA[ ]]> section, it recognizes the declarations and starts recognizing all the JSTL tags.
<Protected><![CDATA[
<%@ page contentType=”text/html; charset=iso-8859-1″ language=”java” session=”false” %>
<%@ taglib uri=”/WEB-INF/struts-bean.tld” prefix=”bean” %>
<%@ taglib uri=”/WEB-INF/struts-html.tld” prefix=”html” %>
<%@ taglib uri=”/WEB-INF/struts-logic.tld” prefix=”logic” %>
<%@ taglib uri=”/WEB-INF/c.tld” prefix=”core” %>
]]></Protected>I’ve tried using JSTL 1.0 and 1.1.
Could you please point me to the problem in the installation of MyEclipse.
Regards,
Himanshu– System Setup ——————————-
Operating System and version:
Eclipse version: 3.2.1
Eclipse build id: M20060921-0945
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 2
MyEclipse version: 5.0.1 GA
Eclipse JDK version: 20060810-5.0.1-GA
Application Server JDK version: 1.5
Are there any exceptions in the Eclipse log file?
– Message Body ——————————-November 21, 2006 at 10:46 am #262380
Riyad KallaMemberHimanshu ,
Can you send me a small sample web project that exhibits this problem that *should* compile correctly to support@genuitec.com ATTN Riyad with a link to this thread so I know why I’m getting the project?I’ll have a look at the problem.
November 22, 2006 at 9:14 am #262455
Riyad KallaMemberHimanshu,
Thank you for the example project. There are quite a few problems in here. You have a number of invalid (I’m guessing a custom framework?) tags wrapping the page, also the CDATA construct is not legal JSP syntax in the manner you have it (wrapping the taglib directives). You have no page format type definition and your taglib URIs are all invalid given the contents of the project.I imported your project into a slew of IDEs I have available for testing and *none* of them accepted the project without marking numerous errors on the pages.
I think the problem is that the MyEclipse JSP syntax parser got quite a bit more advanced in the 5.0 release than it was in the 4.1 release and we are not noticing things that used to “get under the radar” so to speak.
If you need to keep the pages in this format, I would strongly suggest making use of our new validation-exlusion controls available by right clicking on your page, and going to MyEclipse > Exclude from Validation. You can also control this under the project properties, under Validation > Exclusion.
-
AuthorPosts
