[
http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961
]
Marco Noto edited comment on MNG-4228 at 7/8/09 9:59 AM:
---------------------------------------------------------
jean-marc, i can't run your example...
I've some problems with my JAVA_HOME in C.\Programs Files (path with space):
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Java\jre1/6/0_04\jre\lib\security\cacerts
Now i haven't the time to change the example...
was (Author: cn73):
jean-marc, i can't run your example...
>java -classpath
>.;..\lib\commons-logging-1.0.4.jar;..\lib\commons-codec-1.3.jar;..\lib\commons-httpclient-3.0-n
lm-2.0.jar -Djavax.net.ssl.trustStore=C:\Program
Files\Java\jdk1.6.0_04/jre/lib/security/cacerts -Djavax.net.ssl
trustStorePassword=changeit TestNTLMAuth
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Java\jdk1/6/0_04/jre/lib/security/cacerts
Caused by: java.lang.ClassNotFoundException:
Files\Java\jdk1.6.0_04.jre.lib.security.cacerts
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
> Key: MNG-4228
> URL: http://jira.codehaus.org/browse/MNG-4228
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories, Settings
> Affects Versions: 2.2.0
> Environment: Windows XP, java version "1.6.0_04"
> Reporter: Marco Noto
> Priority: Blocker
> Fix For: 2.2.1
>
> Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go
> back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
> retrieved from repository: central due
> to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira