[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    DO NOT REPLY [Bug 37724]  New:  -
From:       bugzilla () apache ! org
Date:       2005-11-30 23:03:54
Message-ID: 20051130230354.EA4DDCB () ajax ! apache ! org
[Download RAW message or body]

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: anthony.goubard@wanadoo.nl


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic