This is the problem when I tried to save file .properties in weblogic java.lang.IllegalArgumentException: URI is not hierarchical
I deployed on WAS and Tomcat and works well but in weblogic I have the problem when I read and display the properties on .jsp is well but when I want to save is the problem.
public boolean setProperties(String data[]) {
    OutputStream outStream = null;
    File f;
    try {
        Properties props = new Properties();
        props.setProperty("url", data[0]);
        props.setProperty("method", "" + data[1]);
        props.setProperty("accept", "" + data[2]); 
        props.setProperty("key", "" + data[3]); 
        URL url= getClass().getResource("/access.properties");
        f = new File(url.toURI()); 
        outStream = new FileOutputStream(f);
        props.store(outStream, "");
        return true;
    } catch (Exception e) {
        e.printStackTrace();
    }
    return false;
}