Incompatible Type In IntelliJ Idea IDE Users
Answered
Hi Jetbrains Team,
I'm using Intellij Idea IDE from couple of months, and works amazing. This became one of my favorite IDE.
I noticed one small issue which is stopping to move forwared while developing.
I'm trying to access a method from a Jar which taks java.util.String as argument and IDE is forcing to taking another class from the same JDK rt.jar.
Attached is the screenshot for the reference.
When I try the same project in Eclipse - Its working.
Error coming is :
Error:(40, 43) java: incompatible types: java.lang.String cannot be converted to com.sun.org.apache.xpath.internal.operations.String
Thanks,
Sudheer.
Attachment(s):
Screen Shot 2016-01-15 at 4.42.28 PM.png
Please sign in to leave a comment.
A small sample project would help to understand the problem better.
Hi Serge,
does any web-ex works ?
Basically , I'm able to reproduce when I'm using Spring + Spring Data MongoDB
Thanks,
Sudheer.
Hi Serge,
This is not an IDE Issue, its solved..
Thanks,
Sudheer.
Hi @Sudheer how the issue is solved