未使用DAVLockDB指令指定锁定数据库。 必须指定一个使用锁定功能。 [500,#401]

I am trying to deploy my maven project website using WebDAV protocal into apache 2.2. Server.

And When I am deploying the application to the server, I am getting above error.

I have following configuration in httpd-dav.conf. but I am still finding above error in ahache_error.log file. Could anybody help me to find the reason here.

DavLockDB "c:/apache2.2/var/DavLock"
Alias /sites "c:/apache2.2/sites"

<Directory "c:/apache2.2/sites">
    Dav On

    Order Allow,Deny
    Allow from all

    AuthType Digest
    AuthName DAV-upload

    Options Indexes

    AuthUserFile "c:/wamp/bin/apache/apache2.2.22/user.passwd"
    AuthDigestProvider file

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    <LimitExcept GET OPTIONS>
        require user admin
    </LimitExcept>
</Directory>

Actually I found the answer after 2 days and answer is very simple.

I removed DavLockDB "c:/apache2.2/var/DavLock" from httpd-dav.conf file and placed this line inside httpd.conf file

This is the only change I did and now I am able to access apache2.2 server using web dav protocal.