tomcat error upon refactoring root package

I wanted to change the default “com.company” root package to “net.kprism” and upon doing so through intellij, I am unable to launch the application. I was however able to launch the application after refactoring the root package to “com.kprism”. Here is screenshot of the Tomcat console, it cannot find the cuba_ServerSelector bean.

tomcat_error

Hi,
Try to completely remove the tomcat folder, setup tomcat and deploy the application again.
See also this topic. Pay attention to steps 7 and 8. All the listed config files (app.properties, spring.xml etc) should be also modified.