How can I get an 'undefined control sequence \begin{thebibliography}{1}'?
The error indicates that \refname
is being used by the class but is not defined. That is a bug in the class file: \refname
is not defined by the LaTeX kernel, so any class using it should define it. It can be fixed by adding
\newcommand*{\refname}{Bibliography}
after the \documentclass
line in your document, but really I would be suspicious of a class with such an obvious error.
Maybe your ieicejsp doesn't support this? I tried your file with report and it worked (after doing multiple runs with pdflatex, so it could resolve the dependencies).
Note: Had to use another template, because I don't have ieicejsp installed.