View Renderings not working?

 Hello Sitecore Community,

I am new to Sitecore and just tried out the View Renderings. I created a View File that looks like this:

 

@using Sitecore.Mvc
@using Sitecore.Mvc.Presentation
@model RenderingModel

<h1>This is a View Rendering</h1>

 

I put the View File under "/Views/View1.cshtml". However, when I try to add the View Rendering to my page in the Experience Editor, I always get a Javascript alert saying "An error occured" and the Console saying "Could not find the rendering in the HTML loaded from server". I added the Rendering Item under Layouts -> Renderings -> View1 and set the Path to "/Views/View1.cshtml". 

I have absolutely no idea what is causing the problem. I'm not even getting a proper error message. I tried this on a local Sitecore 8.2 instance and also on a 9.1 Azure instance.

 

Every help is very appreciated.