Views that inherit a table and syntax in PostgreSQL
Views cannot inherit.

Only tables can.

Aside: the query for CREATE VIEW does not need parentheses. And your whole SELECT is needlessly convoluted and buggy. Untangled and without the invalid INHERITS clause:

CREATE OR REPLACE VIEW stipa_test.stipa_view AS 
SELECT aar.gid AS aar_gid, aar.geom AS aar_geom 
     , aar_korr.gid AS aar_korr_gid, aar_korr.geom AS aar_korr_geom 
FROM   stipa_test.stipa_type_aar  aar
JOIN   stipa_test.stipa_type_aar_korr aar_korr
                   ON ST_Within(aar.geom, ST_Buffer(aar_korr.geom, 3))
-- and 'aar_korr.dato' &gt; 'dato.aar'  -- nonsense, always FALSE