Error when trying to revert to previous version of project

Hi,

I tried to revert to a previous version of my project (using the same version of Cuba Platform), but get the attached error.
Any way to fix?

Thank you

error

Hi,

Which Tomcat path is adjusted in your project? Have you changed it manually?

The error shows that the “bin” directory exists in the root project directory. It seems that this “bin” directory belongs to Tomcat.

Please use default Tomcat path, “build” or “deploy” folders, as they are listed in .gitignore.

historytest

Thank you very much for your help.

I have never (as far as I remember) changed the path manually.
In the project properties screen, the setting is as follows: “/studio-projects/tojm/build/tomcat”

Below is the result of “ls” in my project folder

    .gradle
    .settings
    .studio
    bin
    build
    deploy
    gradle
    jsefa-1.0.0.RELEASE
    modules
 .classpath
  .git
  .gitignore
 .project
build.gradle
extra.gradle
gradlew
gradlew.bat

settings.gradle
studio-settings.xml
tojm.iws

And this is the content of .giticore file:

.gradle

*.ipr

*.iml

*.iws

build/*

modules//build/

out

test-run

.studio

deploy/*

/bin/

/bin/