Skip to content

Issue with SPSite Class Constrcutor #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. I am trying to creating a object with the following code
SPSite instance = new SPSite(new 
URL("http://sp.com/Templates/Forms/AllItems.aspx/"), credentials, true);

2. But i am getting compile time exception.
The constructor SPSite(URL, NetworkCredentials, boolean) is undefined
3. Evn i added all required jars in classpath

What is the expected output? What do you see instead?

Simple demo code is not working
What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by subodhcj...@gmail.com on 16 Jul 2013 at 12:23

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions