IDE compiler error

Hi,

I am using IntelliJ 8.0.1 on OS X with JDK 1.5.  I have a test module that is using JAXB 2.0 to do some marshaling.  The project compiles fine using Ant from the command line, however, I have a red "squiggley" flagging a compiler error within the IDE with the following error:

marshal(javax.xml.bind.JAXBElement<T>, String) in MyUtilClass cannot be applied to
(javax.xml.bind.JAXBElement<com.foo.mappings.MyType>, String)

I'm curious as to why this error shows up and if it relates to some sort of mis-configured project, or can it just be ignored?

Note, that compiling the file (Apple + F9) succeeds with no errors from within the IDE.

Thanks,
John

Please sign in to leave a comment.