In my java code, I have extensively used the variables and methods from the BigInteger library. In LaTeX, in order to display my code neatly, I have used listings package. So between the \begin{lstlisting} and \end{lstlisting} I paste the aforementioned java code. But I am not able to compile it in TexStudio because anywhere I've used the methods from the BigInteger library, i get an error.
However, if I have a java code that doesn't use the BigInteger library, it gets compiled properly in TexStudio without any errors.
I have TexStudio for creating my LaTeX documents. Is there anyway to circumvent this issue?