1. 出现 set Assigning an instance of 'esri.***' which is not a subclass of 'esri.***‘的错误原因 是 因为没有找见文件
2. [esri.core.Accessor] Accessor#set Assigning an instance of 'esri.layers.GraphicsLayer' which is not a subclass of 'esri.Graphic'
原因 :p= new GraphicsLayer({"id":"p"}); view.graphics.add(p, 2);