powered by Jive Software

OTR plugin cannot find dependency in other modules

I don’t know whats happening but i’m stuck here for straight 2 days:
On building spark i get these errors
Any guidance or Help would be appreciated

Information:java: Errors occurred while compiling module ‘main4’
Information:javac 1.8.0_161 was used to compile java sources
Information:16/08/2018 11:41 - Compilation completed with 100 errors and 2 warnings in 13 s 702 ms
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\OTRManager.java
Error:(6, 30) java: cannot find symbol
symbol: class ChatManager
location: package org.jivesoftware.spark
Error:(7, 30) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(11, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(12, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(13, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(14, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(15, 39) java: package org.jivesoftware.spark.ui.rooms does not exist
Error:(22, 37) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(22, 1) java: static import only from classes and interfaces
Error:(32, 33) java: cannot find symbol
symbol: class ChatRoomListenerAdapter
Error:(32, 68) java: cannot find symbol
symbol: class ContactItemHandler
Error:(37, 11) java: cannot find symbol
symbol: class ChatManager
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(46, 32) java: cannot find symbol
symbol: class ChatRoom
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(54, 32) java: cannot find symbol
symbol: class ChatRoom
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(115, 35) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(132, 40) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(137, 35) java: cannot find symbol
symbol: class ContactItem
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(167, 38) java: cannot find symbol
symbol: class ContactItem
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(37, 37) java: cannot find symbol
symbol: variable SparkManager
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(45, 5) java: method does not override or implement a method from a supertype
Error:(47, 9) java: cannot find symbol
symbol: variable super
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(48, 29) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(49, 31) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(49, 53) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(53, 5) java: method does not override or implement a method from a supertype
Error:(55, 9) java: cannot find symbol
symbol: variable super
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(57, 33) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(58, 17) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(58, 40) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(85, 55) java: cannot find symbol
symbol: variable SparkManager
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(88, 80) java: cannot find symbol
symbol: method getConnection()
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(90, 72) java: cannot find symbol
symbol: method getConnection()
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(133, 41) java: cannot find symbol
symbol: method getConnection()
location: class org.jivesoftware.spark.otrplug.OTRManager
Error:(136, 5) java: method does not override or implement a method from a supertype
Error:(150, 5) java: method does not override or implement a method from a supertype
Error:(160, 5) java: method does not override or implement a method from a supertype
Error:(166, 5) java: method does not override or implement a method from a supertype
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\impl\OTRSession.java
Error:(20, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(21, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(22, 33) java: package org.jivesoftware.resource does not exist
Error:(24, 39) java: package org.jivesoftware.spark.ui.rooms does not exist
Error:(25, 35) java: package org.jivesoftware.spark.util does not exist
Error:(29, 39) java: package org.jivesoftware.spark.util.log does not exist
Error:(39, 13) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(46, 11) java: cannot find symbol
symbol: class ChatRoomButton
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(48, 13) java: cannot find symbol
symbol: class MessageEventListener
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(62, 23) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(115, 32) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(46, 39) java: cannot find symbol
symbol: variable UIComponentRegistry
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(87, 25) java: cannot find symbol
symbol: variable Log
Error:(96, 25) java: cannot find symbol
symbol: variable Log
Error:(125, 24) java: cannot find symbol
symbol: class MessageEventListener
location: class org.jivesoftware.spark.otrplug.impl.OTRSession
Error:(206, 67) java: cannot find symbol
symbol: variable Res
Error:(207, 66) java: cannot find symbol
symbol: variable Res
Error:(208, 70) java: cannot find symbol
symbol: variable Res
Error:(215, 58) java: method getRemotePublicKey in interface net.java.otr4j.session.Session cannot be applied to given types;
required: no arguments
found: net.java.otr4j.session.SessionID
reason: actual and formal argument lists differ in length
Error:(240, 29) java: cannot find symbol
symbol: variable Log
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\ui\OTRConnectionPanel.java
Error:(21, 33) java: package org.jivesoftware.resource does not exist
Error:(24, 33) java: package org.jivesoftware.spark.ui does not exist
Error:(25, 39) java: package org.jivesoftware.spark.ui.rooms does not exist
Error:(35, 13) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(41, 13) java: cannot find symbol
symbol: class TranscriptWindow
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(46, 31) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(77, 50) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(77, 28) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(96, 62) java: cannot find symbol
symbol: variable SparkRes
Error:(96, 40) java: cannot find symbol
symbol: variable SparkRes
Error:(131, 50) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(131, 28) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(152, 50) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
Error:(152, 28) java: cannot find symbol
symbol: variable SparkRes
location: class org.jivesoftware.spark.otrplug.ui.OTRConnectionPanel
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\util\OTRResources.java
Error:(14, 39) java: package org.jivesoftware.spark.util.log does not exist
Error:(36, 13) java: cannot find symbol
symbol: variable Log
location: class org.jivesoftware.spark.otrplug.util.OTRResources
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\impl\OTREngineHost.java
Error:(9, 30) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(11, 39) java: package org.jivesoftware.spark.ui.rooms does not exist
Error:(16, 39) java: package org.jivesoftware.spark.util.log does not exist
Error:(26, 13) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.impl.OTREngineHost
Error:(29, 44) java: cannot find symbol
symbol: class ChatRoomImpl
location: class org.jivesoftware.spark.otrplug.impl.OTREngineHost
Error:(49, 27) java: cannot find symbol
symbol: variable SparkManager
location: class org.jivesoftware.spark.otrplug.impl.OTREngineHost
Error:(55, 13) java: cannot find symbol
symbol: variable SparkManager
location: class org.jivesoftware.spark.otrplug.impl.OTREngineHost
Error:(59, 13) java: cannot find symbol
symbol: variable Log
location: class org.jivesoftware.spark.otrplug.impl.OTREngineHost
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\pref\OTRPreferences.java
Error:(8, 41) java: package org.jivesoftware.spark.preference does not exist
Error:(15, 40) java: cannot find symbol
symbol: class Preference
Error:(19, 5) java: method does not override or implement a method from a supertype
Error:(24, 5) java: method does not override or implement a method from a supertype
Error:(29, 5) java: method does not override or implement a method from a supertype
Error:(34, 5) java: method does not override or implement a method from a supertype
Error:(40, 5) java: method does not override or implement a method from a supertype
Error:(46, 5) java: method does not override or implement a method from a supertype
Error:(52, 5) java: method does not override or implement a method from a supertype
Error:(58, 5) java: method does not override or implement a method from a supertype
Error:(67, 5) java: method does not override or implement a method from a supertype
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\pref\OTRPrefPanel.java
Error:(24, 30) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(31, 37) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(31, 1) java: static import only from classes and interfaces
Warning:(128, 93) java: getUser() in org.jivesoftware.smack.roster.RosterEntry has been deprecated
Warning:(132, 41) java: getUser() in org.jivesoftware.smack.roster.RosterEntry has been deprecated
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\util\OTRProperties.java
Error:(8, 30) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
C:\Users\adiaholic\IdeaProjects\Spark\plugins\otr\src\main\java\org\jivesoftware\spark\otrplug\OTRPlugin.java
Error:(3, 30) java: cannot find symbol
symbol: class SparkManager
location: package org.jivesoftware.spark
Error:(5, 37) java: package org.jivesoftware.spark.plugin does not exist
Error:(6, 41) java: package org.jivesoftware.spark.preference does not exist
Error:(14, 35) java: cannot find symbol
symbol: class Plugin

Not sure if these errors are exactly related, but OTR plugin (as well as Spelling) couldn’t be built in the latest source as they are old and don’t have Maven artifacts to import. https://issues.igniterealtime.org/browse/SPARK-1893