[Tex/LaTex] Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for explanation

captionssubfig

I have used these packages in my Springer format, but I am getting above warning. Although warning can be ignored but, without removal of this warning, I am not unable to upload or build PDF on that particular journal website.
The warning is about caption package, and I have not used it in my project. By adding this package also, I am getting the same error.

Kindly help how me to remove this warning.

My document contains, text, figures, subfigures references only.


\documentclass[twocolumn]{svjour3}          % twocolumn
%
\smartqed  % flush right qed marks, e.g. at end of proof
%

%
% \usepackage{mathptmx}      % use Times fonts if available on your TeX system
%
% insert here the call for the packages your document requires
%\usepackage{latexsym}
% etc.
%
% please place your own definitions here and don't use \def but
% \newcommand{}{}
%
% Insert the name of "your journal" with
% \journalname{myjournal}


\usepackage{cite}
\usepackage{array}
% \usepackage{adjustbox}

\usepackage{tablefootnote}
\usepackage{footnote}
% \usepackage{cleveref}
\usepackage{csquotes}
\usepackage{multirow}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{diagbox}
\usepackage{ mathrsfs}
\usepackage{bm}
\usepackage{subfig}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{mathtools}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\usepackage{hyperref}
\renewcommand{\arraystretch}{1.2}
\setlength{\tabcolsep}{2.5pt}
\usepackage{textcomp}
\usepackage{caption}% http://ctan.org/pkg/caption

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\usepackage{subfig}

\sloppy

Best Answer

Thanks @Zarko for making my day to solve this problem :

I have removed \usepackage{caption} %subfigure and \usepackage{subcaption} %subfigure, then it worked fine.