Near "uvm_sequence_item": syntax error, unexpected IDENTIFIER

In reply to dave_59:

In reply to saritr:
Your pakmx_transaction class should be inside a package that imports uvm_pkg.

It is.