For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 11 replies, 2 voices, and was last updated 21 years, 6 months ago by
eCommerce.
-
AuthorPosts
-
eCommerceMemberIn my JSP file I use statements like this e.g.
<%= util.formElement(FormUtil.RADIO_BUTTON, “PB”, true) %>The method comes from another class, imported using “useBean”. If I modify the method formElement() in the original class to have more parameters the JSP does it not recognize until I close the JSP file and reopen it.
Is there any possibilty to change this behavior so I don’t have always to close and reopen the file?
THANKS
February 14, 2005 at 3:17 pm #225127
Riyad KallaMemberIs there any possibilty to change this behavior so I don’t have always to close and reopen the file?
If you have JSP validation turned on, cause the file to rebuild (Edit it and save it) and that will mark the compilation error for you in the left margin. The right margin (what you are likely seeing) are real-time and not 100% accurate, but more of a ‘helpful indicator’.
February 15, 2005 at 5:46 am #225164
eCommerceMemberIt doesn’t work. I can never see the red button on the left site. Also the jsp icon does never get the red cross on it when it has any error in it. It is a Clear Case associated project, may the problem come of this?
February 15, 2005 at 7:24 am #225171
Riyad KallaMemberPlease shut down MyEclipse, edit the shortcut you use to start it, and add a -vm argument at the front of the command that points to a JDK (not JRE) install of javaw.exe, like so:
c:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2_07\bin\javaw.exe -vmargs -Xmx256This will allow MyEclipse to find the javac.exe executable that it is trying to use to validate your JSPs.
February 15, 2005 at 8:26 am #225180
eCommerceMemberIt doesn’t work. When I want to start eclipse the JVM terminates with exit code 13
February 15, 2005 at 8:36 am #225182
Riyad KallaMemberIt doesn’t work. When I want to start eclipse the JVM terminates with exit code 13
What exactly is your shortcut ‘command’ when it fails? (Please copy paste it here)
February 15, 2005 at 8:39 am #225184
eCommerceMemberE:\Programme\eclipse\eclipse.exe -vm D:\Programme\JDK142\BIN\javaw.exe -vmargs -Xmx256
February 15, 2005 at 9:43 am #225189
Riyad KallaMember-Xmx256
I appologize, this is my fault. You need an ‘m’ at the end of this number to signify “Megabytes” otherwise IIRC, it tries to allovate kilobytes (which would explain the VM dump). So change it to this:
E:\Programme\eclipse\eclipse.exe -vm D:\Programme\JDK142\BIN\javaw.exe -vmargs -Xmx256m
February 16, 2005 at 7:26 am #225243
eCommerceMemberIt didn’t work either. I have installed a second Eclipse version and now there are some JSP files validated but not all. When I use the menu MyEclipse –> Run Validation I get the following error message:
“Validation was terminated on intranet because the maximum number of messages were reported.”
I’ve laready set the limit of visible items in the error filter to the maximum and did recompile the hole project but it doesn’t help. What am I doing wrong?February 16, 2005 at 7:37 am #225248
Riyad KallaMember“Validation was terminated on intranet because the maximum number of messages were reported.”
It sounds like there is something wrong with your project, what kind of errors is this project reporting? Let’s get those fixed up first… list the first few errors here from the problems view.
February 17, 2005 at 3:30 am #225328
eCommerceMemberWhen I remove the validation markers of MyEclipse I get 2 errors:
2 CoyoteRequest cannot be resolved or is not a type CoyoteAdapter.java intranet/java/ch/sarasin/eco/intranet/login/coyote/as line 22 17.
2 CoyoteRequest cannot be resolved or is not a type CoyoteAdapter.java intranet/java/ch/sarasin/eco/intranet/login/coyote/as line 22 17.When I run the MyEclipse validation it stops after a while with the message
“Validation was terminated on intranet because the maximum number of messages were reported.”
and then I get 27 errors2 ‘class’ or ‘interface’ expected: ^ productEdit.jsp intranet/JSP/intranet/CMA line 1245
2 ‘class’ or ‘interface’ expected: } productEdit.jsp intranet/JSP/intranet/CMA line 1245
2 ‘try’ without ‘catch’ or ‘finally’: try {. NOTE: No JSP line number was avaliable so line 1 was used for the marker. productEdit.jsp intranet/JSP/intranet/CMA line 1
2 <identifier> expected: } productEdit.jsp intranet/JSP/intranet/CMA line 1245
2 cannot resolve symbol: symbol : variable attached_object ticker.jsp intranet/JSP/intranet/CDA line 32
2 cannot resolve symbol: symbol : variable description ticker.jsp intranet/JSP/intranet/CDA line 37
2 cannot resolve symbol: symbol : variable languageId ticker.jsp intranet/JSP/intranet/CDA line 32
2 cannot resolve symbol: symbol : variable prodAuMDate productInsert.jsp intranet/JSP/intranet/CMA line 8
2 cannot resolve symbol: symbol : variable prodHorizon productInsert.jsp intranet/JSP/intranet/CMA line 3
2 cannot resolve symbol: symbol : variable prodHorizonId productInsert.jsp intranet/JSP/intranet/CMA line 3
2 cannot resolve symbol: symbol : variable prodMarge productInsert.jsp intranet/JSP/intranet/CMA line 5
2 cannot resolve symbol: symbol : variable prodRisk productInsert.jsp intranet/JSP/intranet/CMA line 4
2 cannot resolve symbol: symbol : variable prodRiskId productInsert.jsp intranet/JSP/intranet/CMA line 4
2 cannot resolve symbol: symbol : variable Util productInsert.jsp intranet/JSP/intranet/CMA line 3
2 cannot resolve symbol: symbol : variable Util productInsert.jsp intranet/JSP/intranet/CMA line 4
2 CoyoteRequest cannot be resolved or is not a type CoyoteAdapter.java intranet/java/ch/sarasin/eco/intranet/login/coyote/as line 22
2 CoyoteRequest cannot be resolved or is not a type CoyoteAdapter.java intranet/java/ch/sarasin/eco/intranet/login/coyote/as line 22
2 File “/intranet/CDA/ticker.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. bottom_frame.jsp intranet/JSP/intranet/CDA line 1
2 File “/intranet/CMA/API/frontdoor_header.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. CmaAccessList.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/frontdoor_header.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. frontdoor.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/frontdoor_header.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. productHeader.jsp intranet/JSP/intranet/CMA/API line 1
2 File “/intranet/CMA/API/frontdoor_header.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. SarasinAvaloqQuizInput.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/frontdoor_header.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. SarasinAvaloqQuizInputOverview.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/productHeader.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. productAdmin.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/productHeader.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. productCategory.jsp intranet/JSP/intranet/CMA line 1
2 File “/intranet/CMA/API/productHeader.jsp” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. productDelete.jsp intranet/JSP/intranet/CMA line 1
2 illegal start of type: if (submitter1 != null && browse == 1 && submitter2 == null && inserter == null){ productEdit.jsp intranet/JSP/intranet/CMA line 175February 17, 2005 at 6:47 am #225329
eCommerceMemberHi I think I found the error, I am too stupid. I always changed the size of displayed error messages of eclipse but never of the validator.
Sorry…
Hope it works now.
Thanks for your help -
AuthorPosts
