juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (JUNEAU-1) Cannot run org.apache.juneau.samples unit tests.
Date Mon, 03 Oct 2016 13:29:21 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Bognar reopened JUNEAU-1:
-------------------------------
      Assignee: James Bognar

> Cannot run org.apache.juneau.samples unit tests.
> ------------------------------------------------
>
>                 Key: JUNEAU-1
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-1
>             Project: Juneau
>          Issue Type: Bug
>            Reporter: James Bognar
>            Assignee: James Bognar
>             Fix For: 6.0.0
>
>
> I'm getting a SecurityException when I try to run the unit tests for org.apache.juneau.samples.
> To run the unit tests, you need to start the samples REST microservice by running the
juneau-samples eclipse launcher.  This makes it available on port 10000.  Then run the JUnit
tests in org.apache.juneau.samples/src/test/java.
> The error I get is shown below....
> java.lang.SecurityException: class "org.apache.http.conn.ssl.NoopHostnameVerifier"'s
signer information does not match signer information of other classes in the same package
> 	at java.lang.ClassLoader.checkCerts(ClassLoader.java:812)
> 	at java.lang.ClassLoader.preDefineClass(ClassLoader.java:493)
> 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at org.apache.juneau.server.samples.SamplesRestClient.getSSLSocketFactory(SamplesRestClient.java:53)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message