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: enter image description 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:

enter image description here

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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -