Upgrade cake 2.10 to 3

I want to upgrade cake PHP 2.10 to 3 But I am not able to upgrade it.

Fatal error: require(): Failed opening required ‘F:\xampp5\htdocs\portal\upgrade/vendor/autoload.php’ (include_path=‘F:\xampp5\php\PEAR’) in F:\xampp5\htdocs\portal\upgrade\bin\cake.php on line 5

Please help me

Thank you

What steps have you done to upgrade your application? You can’t just drop an existing Cake2 application into Cake3 folder structure and expect it to work.

I’d also suggest going through upgrade guides.

I am using this tool

https://book.cakephp.org/3/en/upgrade-tool.html

But now I am getting a different error.

Can you Please check this?

https://book.cakephp.org/3/en/upgrade-tool.html

But getting error

Fatal error : Cannot declare class lib\Cake\Core\App because the name is already in use in

You’re getting this error from what line of code? Something in your own code? Seems you’re trying to make your own class in the Cake namespace. Do you understand PHP namespaces in general, and autoloading in particular?

I have upgrade CakePHP version 2 to 3. I am not making my own class it is showing after the update.

Fatal error : Cannot declare class lib\Cake\Core\App because the name is already in use in F:\xampp5\htdocs\portal\lib\Cake\Core\App.php on line 70

I think 2 commands are not working

bin/cake upgrade skeleton …/portal

bin/cake upgrade prefixed_templates …/portal

When I run these commands it is showing processing under the terminail