AnsweredAssumed Answered

Get WARN when start alfresco

Question asked by baallee on Dec 10, 2008
Latest reply on Jan 3, 2009 by pmonks
i use source code that check out from svn, to run in eclipse.
and i got followwing warn message:
16:32:44,406 User:System WARN  [web.scripts.DeclarativeRegistry] Unable to register script classpath:alfresco/webscripts/org/alfresco/indexfamily.get.desc.xml due to error: Failed to read Web Script description document classpath:alfresco/webscriptsorg/alfresco/indexfamily.get.desc.xml ; Document org/alfresco/indexfamily.get.desc.xml does not exist within store classpath:alfresco/webscripts

i found code in ClassPathStore.java
 public void setClassPath(String classPath)
    {
        String cleanClassPath = (classPath.endsWith("/")) ? classPath.substring(0, classPath.length() -1) : classPath;
        this.classPath = cleanClassPath;
    }

i want know why need cutout last char '/'? and how to fix this warn?
thanks!

Outcomes