You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vidhya <vi...@siptech.co.in> on 2003/06/12 12:19:38 UTC
Error while downloading jars - behind proxy
Hi all,
I am having the following problem when maven downloads the jars for the
first time.
my system is behind the firewall and I have set the proxy
settings(maven.proxy.host and proxy.port) in build.properties
maven downloaded ant1.5.1 jar successfully , but for junit3.1.8 it
throws the following error.
java.lang.ClassNotFoundException: xml
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039)
at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
................
Can any one tell me why is this happening and how can I fix it ,so that
the jars can be downloaded successfully.
Thanks
Vidhya
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error while downloading jars - behind proxy
Posted by Vidhya <vi...@siptech.co.in>.
I am working on Unix machine but still not working.
Thanks
Vidhya.
Pablo Jejcic wrote:
> By any chance are you using Cygwin??
> I'm having the same problem using Cygwin, but it works on a Unix machine.-
>
> Kind Regards.
> *******************************************
> Pablo Jejcic
> Smartweb Senior system Administrator
> School of Computing - Robert Gordon University
> pablo.jejcic@smartweb.rgu.ac.uk
> Phone:44-(0)1224-262797
> FAX:44-(0)1224-262790
> http://www.smartweb.rgu.ac.uk
> *******************************************
> Sally:"So a man can be friends with a woman he finds unattractive?"
> Harry:"No, you pretty much want to nail them, too"
> *******************************************
>
> -----Original Message-----
> From: vidhya@siptech.co.in [mailto:vidhya@siptech.co.in]
> Sent: 12 June 2003 11:20
> To: Maven Users List
> Subject: Error while downloading jars - behind proxy
>
> Hi all,
> I am having the following problem when maven downloads the jars for the
> first time. my system is behind the firewall and I have set the proxy
> settings(maven.proxy.host and proxy.port) in build.properties maven
> downloaded ant1.5.1 jar successfully , but for junit3.1.8 it throws the
> following error.
>
> java.lang.ClassNotFoundException: xml
> at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
> at
> org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039)
>
> at
> org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
>
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>
> at
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> ................
> Can any one tell me why is this happening and how can I fix it ,so that the
> jars can be downloaded successfully.
>
> Thanks
> Vidhya
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Error while downloading jars - behind proxy
Posted by Pablo Jejcic <pa...@smartweb.rgu.ac.uk>.
By any chance are you using Cygwin??
I'm having the same problem using Cygwin, but it works on a Unix machine.-
Kind Regards.
*******************************************
Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
pablo.jejcic@smartweb.rgu.ac.uk
Phone:44-(0)1224-262797
FAX:44-(0)1224-262790
http://www.smartweb.rgu.ac.uk
*******************************************
Sally:"So a man can be friends with a woman he finds unattractive?"
Harry:"No, you pretty much want to nail them, too"
*******************************************
-----Original Message-----
From: vidhya@siptech.co.in [mailto:vidhya@siptech.co.in]
Sent: 12 June 2003 11:20
To: Maven Users List
Subject: Error while downloading jars - behind proxy
Hi all,
I am having the following problem when maven downloads the jars for the
first time. my system is behind the firewall and I have set the proxy
settings(maven.proxy.host and proxy.port) in build.properties maven
downloaded ant1.5.1 jar successfully , but for junit3.1.8 it throws the
following error.
java.lang.ClassNotFoundException: xml
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039)
at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
................
Can any one tell me why is this happening and how can I fix it ,so that the
jars can be downloaded successfully.
Thanks
Vidhya
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org