DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37724>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37724

           Summary: [VFS] http file system depends on HTTP client
           Product: Commons
           Version: Nightly Builds
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VFS
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I cannot create an http file object because it depends now from httpclient.jar

Here is the stack trace. I also had it when I did a FileObject.getType()

The problem is that the class URLFileName.getPathQueryEncoded() uses the
httpclient library to get the path query.

Exception in thread "Thread-17" java.lang.NoClassDefFoundError:
org/apache/commons/httpclient/util/URIUtil
    at
org.apache.commons.vfs.provider.URLFileName.getPathQueryEncoded(URLFileName.java:67)
    at
org.apache.commons.vfs.provider.URLFileName.getURIEncoded(URLFileName.java:122)
    at
org.apache.commons.vfs.provider.url.UrlFileObject.createURL(UrlFileObject.java:74)
    at
org.apache.commons.vfs.provider.url.UrlFileObject.doAttach(UrlFileObject.java:63)
    at
org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1221)
    at
org.apache.commons.vfs.provider.AbstractFileObject.getContent(AbstractFileObject.java:986)
    at
org.apache.commons.vfs.provider.DefaultURLStreamHandler.openConnection(DefaultURLStreamHandler.java:55)
    at java.net.URL.openConnection(URL.java:943)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to