Solved! Go to Solution.
<script type="text/javascript"> var dojoConfig = { baseUrl:"http://localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo/" }; </script>
What does that screenshot tell you?
Yes, paths need to be set - did you follow the installation instructions?
did you put your application in a webserver? It is needed from 3.0
Please show us the path you have used to the JS API and also what you've got in your dojoConfig etc.
The base URL being used to retrieve resources is incorrect, we just need to work out why.
My Arcgis Api is in:
C:\xampp\htdocs\arcgis_js_api\library\3.1\jsapi
and in the configuration i put this url:
localhost/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo
or
192.168.13.56/arcgis_js_api/library/3.1/jsapi/js/dojo/dojo
192.168.13.56 is my local ip in my network...