[Tex/LaTex] Warning message: –entry type for “abnt-url-package” isn’t style defined –line 199 of file abntext2options.bib

abntbibliographiesbibtexwarnings

I'm getting this warning message when running bibtex on my .bib file and I get a weird entry in my bibliography.

[EDIT] Added MWEB:

\documentclass{article}
\usepackage{abntex2cite}

\begin{document}
\bibliography{mweb}        %use a bibtex bibliography file refs.bib

\cite{key}

\bibliographystyle{plain}  %use the plain bibliography style

\end{document}

mweb.bib:

@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}

output:

reference problem

warning:

warning

Best Answer

You can't use the plain bibliography style with abntex2cite, which defines (and loads) its own bibliography style. So the following document compiles without warnings or errors:

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}


\documentclass{article}
\usepackage{abntex2cite}
\begin{document}

\cite{key}
\bibliography{\jobname}        %use a bibtex bibliography file refs.bib

\end{document}