 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
abhirai Guest
|
Posted: Wed Feb 15, 2006 7:12 am Post subject: logger cannot resolve |
|
|
hi..here is my problem ..
i just toggle between the classes of my project by pressing F3 and
when i come today i got these errors at every page which i go through
....
Logger cannot be resolved or is not a field
ActionError cannot be resolved or is not a type
ActionForm cannot be resolved or is not a valid superclass
ActionMapping cannot be resolved (or is not a valid type) for the
parameter mapping of the method Reset...
please help me ..i am very new in this field... |
|
| Back to top |
|
 |
Rhino Guest
|
Posted: Wed Feb 15, 2006 3:12 pm Post subject: Re: logger cannot resolve |
|
|
"abhirai" <raiabhishek (AT) gmail (DOT) com> wrote in message
news:1139985570.582847.118170 (AT) g14g2000cwa (DOT) googlegroups.com...
| Quote: | hi..here is my problem ..
i just toggle between the classes of my project by pressing F3 and
when i come today i got these errors at every page which i go through
...
Logger cannot be resolved or is not a field
ActionError cannot be resolved or is not a type
ActionForm cannot be resolved or is not a valid superclass
ActionMapping cannot be resolved (or is not a valid type) for the
parameter mapping of the method Reset...
please help me ..i am very new in this field...
|
Those messages appear to be coming from your compiler; compiler messages
represent problems in your source code. It sounds like you are using an IDE
of some kind to write your code and it is doing the compiling for you; that
is common in IDEs today.
It's very hard to help you without more information. If you post some source
code - please, DON'T post a _large_ program - with the messages that you are
getting for that source code and tell us which IDE (name and version) you
are using, perhaps someone can help you.
I suspect that you simply have to do some imports to make the standard Java
classes visible to your compiler but that is just a guess. Without knowing
what IDE you are using, no one can tell you how to do an import in your IDE.
--
Rhino |
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Wed Feb 15, 2006 3:12 pm Post subject: Re: logger cannot resolve |
|
|
On Wed, 15 Feb 2006 09:14:18 -0500, "Rhino"
<no.offline.contact.please (AT) nospam (DOT) com> wrote, quoted or indirectly
quoted someone who said :
| Quote: | Logger cannot be resolved or is not a field
ActionError cannot be resolved or is not a type
ActionForm cannot be resolved or is not a valid superclass
ActionMapping cannot be resolved (or is not a valid type) for the
parameter mapping of the method Reset..
|
export the code and compile with Jikes or Javac. You might get better
quality error messages .Eclipse's are hopeless.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching. |
|
| Back to top |
|
 |
Rhino Guest
|
Posted: Thu Feb 16, 2006 3:12 pm Post subject: Re: logger cannot resolve |
|
|
"Roedy Green" <my_email_is_posted_on_my_website (AT) munged (DOT) invalid> wrote in
message news:vle6v1l030d6r7v2bod4du4t6s9acj7rbv (AT) 4ax (DOT) com...
| Quote: | On Wed, 15 Feb 2006 09:14:18 -0500, "Rhino"
no.offline.contact.please (AT) nospam (DOT) com> wrote, quoted or indirectly
quoted someone who said :
Logger cannot be resolved or is not a field
ActionError cannot be resolved or is not a type
ActionForm cannot be resolved or is not a valid superclass
ActionMapping cannot be resolved (or is not a valid type) for the
parameter mapping of the method Reset..
export the code and compile with Jikes or Javac. You might get better
quality error messages .Eclipse's are hopeless.
|
He didn't say he is using Eclipse; he doesn't mention the name of an IDE at
all. I just inferred that he is using one because he talks about compiling
by pressing F3; if he were using the command line, he wouldn't compile by
pressing F3.
As for Eclipse's compile messages, I'm not sure why you are so negative
about them. I've been using Eclipse happily for a few years now and find
their messages quite good. Once in a while you get a slightly cryptic one
but no compiler is perfect. I used Jikes briefly a long time ago and have
also used javac but I didn't find either of them dramatically better than
Eclipse. Just my two cents worth, of course, other people's mileage may
vary....
--
Rhino |
|
| Back to top |
|
 |
Oliver Wong Guest
|
Posted: Thu Feb 16, 2006 4:12 pm Post subject: Re: logger cannot resolve |
|
|
"Rhino" <no.offline.contact.please (AT) nospam (DOT) com> wrote in message
news:5T%If.37855$T35.607603 (AT) news20 (DOT) bellglobal.com...
| Quote: |
if he were using the command line, he wouldn't compile by pressing F3.
|
You'd be surprise by some of the expectations people may have about a
computer's desired behaviour.
- Oliver |
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Fri Feb 17, 2006 5:12 am Post subject: Re: logger cannot resolve |
|
|
On Thu, 16 Feb 2006 09:22:16 -0500, "Rhino"
<no.offline.contact.please (AT) nospam (DOT) com> wrote, quoted or indirectly
quoted someone who said :
| Quote: | As for Eclipse's compile messages, I'm not sure why you are so negative
about them. I've been using Eclipse happily for a few years now and find
their messages quite good.
|
put in this way. Jikes has the best, then Javac with Eclipse next.
Almost never to I understand the Eclipse error message, BUT I do
understand where it is pointing and that the error just appeared, so
it must have something to do with recent keystrokes.
Eclipse goes insane if you unbalance () or {} with an avalanche of
meaningless and distracting error messages. Further it refuses to
reformat to help find the error until you have corrected it.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|