I tried to create a trigger:
create trigger afterupdate after insert on friends for each row begin dbms_output.put_line(\'hello world\'); end afterupdat
I think this is privilege issue . You are trying to create a trigger on table which is in SYS schema and you dont have privileges for doing so.
Please go to SYS schema and provide the user with privileges to create a trigger on the table.