I run paired t-test and it showed significant difference in values and then run one way ANOVA and it showed no difference , is one way ANOVA a

I run paired t-test and it showed significant difference in values and then run one way ANOVA and it showed no difference , is one way ANOVA a correct way of approaching the subject or is paired t-test better?