IDE compiler error


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<>, 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.


Please sign in to leave a comment.