Answer the question
In order to leave comments, you need to log in
Semantic compilation error - how to fix?
I am recently learning Java on my own. Now I was solving a test problem on one site and ran into a problem.
I wrote a code that in IJ solves this problem and gives the correct answer.
But my solution does not work on the site where I have to solve this problem.
Gives me a compilation error.
I tried to run the debugger in IJ and got this message: target vm is not paused by breakpoint request. evaluation of methods is not possible in this mode.
Can someone tell me what it could be? Where can I look for my mistake?
Answer the question
In order to leave comments, you need to log in
It's hard to say without specifics. Perhaps this site has an older version of Java than you have locally, and you are using the features of the new version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question