cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webide - Error while building simple standalone App

KumarAakash
Participant
1,424

console-error.pngHello ,

I m trying to build a simple app in webide, not using Template and trying to run some basis example .

i m getting below error

my current setup in webide ,

the catch here is if i add my controller name in line number 3 in "controller path " then my view is also not getting displayed using "Run as web"

thanks

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Likes

You did not give the controller a name (the first argument of Controller.extend. You need to define one and add it to the view too. What did you define in the view at the moment?

KumarAakash
Participant
0 Likes

hi I am giving above values in the view .

<mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" controllerName="2021.webapp.controller.app">

Answers (3)

Answers (3)

maheshpalavalli
Active Contributor

You need to give the controller a name like below:

Controller.extend("2021.webapp.controller.app"
KumarAakash
Participant
0 Likes

hi Mahesh - thanks for input , if we add webapp folder path it gives error since webide - add "webapp" duing runtime

KumarAakash
Participant
0 Likes

Thanks for response i was able to resolve it my parent folder name was all numeric hence cause problem once i started alphabet it workd 🙂 silly misstake

KumarAakash
Participant
0 Likes

i upload the walkthrough exercise from SAP UI site and upload in the webide it worked 🙂

when i do same steps without copying any code then view / button not appearing 😞

can some 1 please help in pointing me what basis step i m missing 😞

KumarAakash
Participant
0 Likes

any help on the error please