How to create new showare plugin?

I have created a new plugin using shopware 5 for Order Document Creation. After installing the plugin and calling the controller, i am getting error from shopware. Shopware cannot find the plugin controllers. What could be the probable issues for this error Please guide me with this.

Did you follow these docs? Developing plugins