Expression on rhs is not a class or a compatible class and hence cannot be assigned to a class handle on lhs

In reply to dave_59:

Hello Dave,
i am getting same error as mentioned above for the below code,please suggest,thnks

ifndef AXI_AGENT_PKG define AXI_AGENT_PKG
import env_pkg::*;
class axi_agent extends uvm_agent;

`uvm_component_utils(axi_agent)
axi_sequencer m_seqr ;
axi_driver m_driver;
// axi_monitor m_monitor;
//axi_config m_config;
uvm_analysis_port #(stimulus) aport;
uvm_analysis_port #(stimulus) monitor_aport;

function new(string name,uvm_component parent);
super.new(name,parent);
monitor_aport = new(“monitor_aport”, this);
aport = new(“aport”, this);
endfunction

extern virtual function void build_phase(uvm_phase phase);
extern virtual function void connect_phase(uvm_phase phase);

endclass: axi_agent

function void axi_agent::build_phase(uvm_phase phase);
m_seqr = axi_sequencer::type_id::create(“m_seqr”,this);
m_driver = axi_driver::type_id::create(“m_driver”,this);
// m_monitor = axi_monitor::type_id::create(“m_monitor”,this);
endfunction

function void axi_agent::connect_phase(uvm_phase phase);
m_driver.seq_item_port.connect(m_seqr.seq_item_export);
//m_monitor.monitor_aport.connect(aport);
endfunction

`endif