org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
-------------------------------------------------------------------------------

                 Key: SLING-1253
                 URL: https://issues.apache.org/jira/browse/SLING-1253
             Project: Sling
          Issue Type: Bug
          Components: JCR
         Environment: using org.apache.sling.jcr.resource of revision R891543
            Reporter: Tobias Bocanegra


when trying to create a JcrPropertyMap in a jsp i get:

An error occurred at line: 1 in the generated java file
The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be 
resolved. It is indirectly referenced from required .class files

An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
Type mismatch: cannot convert from JcrPropertyMap to ValueMap
null

i guess the reason is that only the internal JcrPropertyMap implements the 
ValueMap interface, but ont the public one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to