cancel
Showing results for 
Search instead for 
Did you mean: 

Create New Site Error with webscript

kevingo
Champ in-the-making
Champ in-the-making
Recently, I want to use webscript to create a new site in Alfresco Share and getting trouble with "Spring Surf Dispatcher Servlet" exception.

I follow these steps :

1) post a json data to http://localhost:8080/alfresco/service/api/sites

2) The result json tell me that I already create site successful

3) When I trying to access that site with the URL "http://localhost:8080/share/page/site/shortName/dashboard" , I got an error

4) The page shows "A server error has occured."

5) And I check the log, and it shows "javax.servlet.ServletException: Could not resolve view with name 'site/zzzxxx/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'"
(When I create a site with shortName "zzzxxx")

Does any one got the same problem with me ? Any solution ? Thanks for your help Smiley Happy
1 REPLY 1

janv
Employee
Employee