java - IntelliJ External Libraries Compile Time Errors -
i added external library java project fedmsg. had code compiling , working great. needed fedmsg class forked repository , opened pull request , development got stream.
back intellij, rebuilt doc, src, , class .jar updated code , re-imported intellij. intellij shows no errors , autocompletes code seen here: 
however, when compile code in intellij , atlassian sdk, error:
error:(49, 19) java: cannot find symbol symbol: method disconnect() location: variable fedmsg of type org.fedoraproject.fedmsg.fedmsgconnection
the disconnect method in fedmsgconnection class, , class exists external library error says does:

any idea what's going on? note: when compile fedmsg-java .jars sbt, there no errors.
edit: weird thing, if "search symbol" (ctrl+shift+alt+n in intellij), can type "disconnect()" , method fedmsg class shows up.
i got fixed manually importing (copying , pasting) *.class files third party library sbt project (that created "sbt compile"), intellij expects them be, is:
"(project root)\classes"
Comments
Post a Comment