Error - getClass() in java.lang.Object ......

Recently, i have found one problem about IDEA 6.0, the error follows below:

'getClass()' in 'java.lang.Object' clashes with 'getClass()' in 'java.lang.Object'; attempting to use incompatible return type



Attachment(s):
error_idea60.jpg
2 comments

Hello qfweng,

q> Recently, i have found one problem about IDEA 6.0, the error follows
q> below:
q>
q> 'getClass()' in 'java.lang.Object' clashes with 'getClass()' in
q> 'java.lang.Object'; attempting to use incompatible return type

Do you use multiple JDKs in your project?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Yes, i have two JDKs in my system, one is default JDK installed before, another is the JDK in IDEA. but i have been not found this problem before while the environment is the same.

0

Please sign in to leave a comment.