This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Strange error: de cannot be resolved Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Strange error: de cannot be resolved" Watch "Strange error: de cannot be resolved" New topic
Author

Strange error: de cannot be resolved

Ralf Rottmann
Greenhorn

Joined: Dec 07, 2003
Posts: 25
Does anybody understand what Eclipse wants to tell me with the following error message:
Refer to http://www.rottmann.net/java/1.html for a screenshot please.
Regards,
Ralf


-----------------------------<br /><a href="http://www.rottmann.net" target="_blank" rel="nofollow">http://www.rottmann.net</a><p>"The real voyage of discovery consists not in making new landscapes but in having new eyes." <br />Marcel Proust (1871-1922)
Ralf Rottmann
Greenhorn

Joined: Dec 07, 2003
Posts: 25
Any hint?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12758
    
    5
This is a really long shot - look at the jsp code with a different editor to see if there are any odd characters floating around in that text. Alternately, delete the tag and re-type it.
Ralf Rottmann
Greenhorn

Joined: Dec 07, 2003
Posts: 25
Created a new .jsp file.
Typed the statement.
Same error message - but obviously compiling without any error...
Any idea?
Mark Latham
Greenhorn

Joined: May 27, 2003
Posts: 22
You say it compiles without error... does this mean that the page actually displays without error when you pull up the JSP with the browser? In other words, is the problem limited to an erroneous error message in Eclipse?
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
When encountered with an error of this nature I add codes on iterative increments.
I advice you try the tag <jsp:getProperty name="address" property="*"/> and see if the error persists before trying the addition of <jsp:getProperty name="address" property="name"/> or vice - versa.
I also assume that <jsp:getProperty name="address" property="*"/> will fetch every parameter in the passing JSP page so I do not see the need for the subsequent tags unless thee are other reasons behind the hood why you need them.
I hope this helps,
Anselm.
Ralf Rottmann
Greenhorn

Joined: Dec 07, 2003
Posts: 25
Mark - You are right. It compiles without error. It seems to be a bug in Eclipse.
Anselm - I don't have subsequent elements. The one hidden by the error message popup actually is a <jsp:setProperty /> while the two others are <jsp:getProperty /> elements in order to display the parameters.
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
I do not know what to suggest Ralf.
Maybe you could paste the whole code on the screen so others could try with some other editors, and see what would be the outcome.
Mark Latham
Greenhorn

Joined: May 27, 2003
Posts: 22
What JSP plugin are you using? I'd recommend looking at the mailing list for that plugin or try a different JSP plugin. And remember, though it's nice, you don't *need* a JSP plugin at all (the latest production release doesn't come with one).
 
Consider Paul's rocket mass heater.
 
subject: Strange error: de cannot be resolved
 
Similar Threads
JSF : redirect errors to error page
Configuring error pages in the DD
Problem in JSP syntax
Problem in my JSTL comment
using isErrorPage page Directive PRoblem