This is a file right issue. H2 cannot create the lock file in the specified folder. You have to specify a file for the database stored in a folder that does not require administrator rights. "C:\Program Files\NetBeans 8.0.2\" is usually protected by windows. 

Solution, specify an url relative to user folder:

```jdbc:h2:~/test``` 

See http://stackoverflow.com/questions/9461770/where-does-h2s-embedded-databases-store-the-data

Note: This question is not related to H2GIS.